(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{ /***/ "+xgG": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return NewEmployementComponent; }); /* harmony import */ var src_app_Shared_Enum_achievement_category_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("uIW0"); /* harmony import */ var src_app_Shared_Model_achiement_view_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("UWk7"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("AytR"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("fXoL"); /* harmony import */ var src_app_Shared_Service_achievement_award_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("DiM6"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("sYmb"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("jhN1"); /* harmony import */ var src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("LYBR"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("tyNb"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("ofXK"); /* harmony import */ var ngx_pagination__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("oOf3"); function NewEmployementComponent_div_12_ng_container_24_a_13_Template(rf, ctx) { if (rf & 1) { const _r1566 = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](0, "a", 18); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵlistener */ "ic"]("click", function NewEmployementComponent_div_12_ng_container_24_a_13_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵrestoreView */ "Mc"](_r1566); const item_r1561 = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r1564 = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵnextContext */ "mc"](2); return ctx_r1564.onDownload(item_r1561 == null ? null : item_r1561.PdfFIleName); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelement */ "Wb"](1, "i", 19); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); } } function NewEmployementComponent_div_12_ng_container_24_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](1, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](2, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelement */ "Wb"](4, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](6, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](7); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](8, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](9); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](10, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](11); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](12, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtemplate */ "Tc"](13, NewEmployementComponent_div_12_ng_container_24_a_13_Template, 2, 0, "a", 17); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const item_r1561 = ctx.$implicit; const i_r1562 = ctx.index; const ctx_r1559 = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate1 */ "Xc"]("", (ctx_r1559.filterModel.IndexModel.Page - 1) * ctx_r1559.filterModel.IndexModel.PageSize + (i_r1562 + 1), "/"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate1 */ "Xc"](" ", item_r1561 == null ? null : item_r1561.Id, ""); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r1559.translate.currentLang != "en" ? item_r1561 == null ? null : item_r1561.DepartmentHindi : item_r1561 == null ? null : item_r1561.Department, " "); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r1559.translate.currentLang != "en" ? item_r1561 == null ? null : item_r1561.AchievementHindi : item_r1561 == null ? null : item_r1561.Achievement, " "); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r1559.translate.currentLang != "en" ? item_r1561 == null ? null : item_r1561.DescriptionHindi : item_r1561 == null ? null : item_r1561.Description, " "); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵproperty */ "tc"]("ngIf", item_r1561.PdfFIleName); } } function NewEmployementComponent_div_12_tr_26_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](0, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](1, "td", 20); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](2, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](5, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](6, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](7); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](8, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](9, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](10); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](11, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](12, "\u00A0"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1560 = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](4, 3, "Total_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](ctx_r1560.TotalJobs); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](ctx_r1560.TotalCost.toFixed(2)); } } function NewEmployementComponent_div_12_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](1, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](2, "table", 12); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](3, "thead"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](4, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](5, "th", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelement */ "Wb"](8, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](9); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](10, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](11, "th", 14); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](12); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](13, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](14, "th", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](15); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](16, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](17, "th", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](18); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](19, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](20, "th", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](21); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](22, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](23, "tbody"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtemplate */ "Tc"](24, NewEmployementComponent_div_12_ng_container_24_Template, 14, 6, "ng-container", 15); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](25, "paginate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtemplate */ "Tc"](26, NewEmployementComponent_div_12_tr_26_Template, 13, 5, "tr", 16); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1557 = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](6); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](7, 8, "SrNo_txt"), "/"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](10, 10, "RecordEntryNo_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](13, 12, "Department_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](16, 14, "Numberofopportunities_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](19, 16, "CostInCrores_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](22, 18, "pdf_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵproperty */ "tc"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind2 */ "pc"](25, 20, ctx_r1557.model, ctx_r1557.pagerConfig)); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r1557.model == null ? null : ctx_r1557.model.length); } } function NewEmployementComponent_div_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](1, "h3", 21); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](3, 1, "NoRecordFound_txt")); } } let NewEmployementComponent = /*@__PURE__*/ (() => { class NewEmployementComponent { //#endregion constructor(_achievementAwardService, translate, sanitizer, commonService, route, _titleService) { // _titleService.setTitle(translate.currentLang == 'hi' ? " जनकल्याण पोर्टल, राजस्थान सरकार।" : " Jankalyan Portal, Rajasthan Government") this._achievementAwardService = _achievementAwardService; this.translate = translate; this.sanitizer = sanitizer; this.commonService = commonService; this.route = route; this._titleService = _titleService; //#region variable this.filterModel = new src_app_Shared_Model_achiement_view_model__WEBPACK_IMPORTED_MODULE_1__[/* AchievementAllSearchModel */ "b"](); this.totalRecords = 0; this.pagerConfig = { id: 'datapager', itemsPerPage: this.filterModel.IndexModel.PageSize, currentPage: this.filterModel.IndexModel.Page, totalItems: this.totalRecords, }; this.DateFormat = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__[/* environment */ "a"].DateFormat; this.IsLoading = true; //filterModel = new AchiementFilterModel(); this.achievementEnum = src_app_Shared_Enum_achievement_category_enum__WEBPACK_IMPORTED_MODULE_0__[/* AchievementCategoryEnum */ "a"]; this.TotalJobs = 0; this.TotalCost = 0; if (this.route.snapshot.params.dpt) { this.filterModel.DepartmentCode = String(this.route.snapshot.params.dpt); } } ngOnInit() { var IsLatestUpdate = JSON.parse(localStorage.getItem("IsLatestUpdate")); if (IsLatestUpdate) { let MinimumDate = new Date(new Date().getTime() - (15 * 24 * 60 * 60 * 1000)); let uTCDate = new Date(Date.UTC(new Date(MinimumDate).getFullYear(), new Date(MinimumDate).getMonth(), new Date(MinimumDate).getDate())).toISOString(); this.filterModel.FromDate = uTCDate; this.GetData(); } else { this.GetData(); } } GetData() { // this.IsLoading = true; this.filterModel.IndexModel = this.filterModel.IndexModel; this.filterModel.IndexModel.OrderBy = "DepartmentHindi"; this.filterModel.IndexModel.OrderByAsc = 1; this.filterModel.CategoryCode = this.achievementEnum.EmploymentCode; this.filterModel.IsActive = true; this.filterModel.IndexModel.PageSize = 101; this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel, false).subscribe(response => { if (response.IsSuccess) { this.model = response.Data.Data; this.model.forEach(element => { var _a, _b; this.TotalJobs = this.TotalJobs + Number((_a = element) === null || _a === void 0 ? void 0 : _a.Achievement); this.TotalCost = this.TotalCost + Number((_b = element) === null || _b === void 0 ? void 0 : _b.Description); }); if (!this.filterModel.IndexModel.IsPostBack) { this.totalRecords = response.Data.TotalRecords; } this.updatePageConfig(); } this.IsLoading = false; }, error => { }); } onSearch() { this.filterModel.IndexModel.Page = 1; this.filterModel.IndexModel.IsPostBack = false; this.GetData(); } reset() { this.filterModel = new src_app_Shared_Model_achiement_view_model__WEBPACK_IMPORTED_MODULE_1__[/* AchievementAllSearchModel */ "b"](); this.onSearch(); } getNextPageRecord(page) { window.scroll(0, 0); this.filterModel.IndexModel.IsPostBack = true; this.filterModel.IndexModel.Page = page; this.GetData(); } changePageSize(value) { window.scroll(0, 0); this.filterModel.IndexModel.IsPostBack = true; this.filterModel.IndexModel.PageSize = Number(value); this.filterModel.IndexModel.Page = 1; this.GetData(); } updatePageConfig() { this.pagerConfig = { itemsPerPage: this.filterModel.IndexModel.PageSize, currentPage: this.filterModel.IndexModel.Page, totalItems: this.totalRecords }; } onDownload(url) { if (url) { var newWin = open("", "_blank"); newWin.document.write(''); } } ngOnDestroy() { localStorage.removeItem("IsLatestUpdate"); } } NewEmployementComponent.ɵfac = function NewEmployementComponent_Factory(t) { return new (t || NewEmployementComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_achievement_award_service__WEBPACK_IMPORTED_MODULE_4__[/* AchievementAwardService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdirectiveInject */ "Vb"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__[/* TranslateService */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__[/* DomSanitizer */ "b"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_7__[/* CommonService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_8__[/* ActivatedRoute */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__[/* Title */ "d"])); }; NewEmployementComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdefineComponent */ "Pb"]({ type: NewEmployementComponent, selectors: [["app-new-employement"]], decls: 14, vars: 7, consts: [["aria-label", "breadcrumb", 1, "breadcrumb_nav"], [1, "breadcrumb"], [1, "breadcrumb-item"], [3, "routerLink"], [1, "inner-page", "pt-0"], [1, "container-fluid", "p-4", "pt-5"], [1, "row"], [1, "col-xl-12", "col-lg-12", "mb-12"], [1, "title", "text-center"], ["class", "col-lg-12", 4, "ngIf"], [1, "col-lg-12"], [1, "table-responsive"], [1, "table", "table-striped", "table-bordered", "table-new-design"], [2, "width", "10%"], [2, "width", "70%"], [4, "ngFor", "ngForOf"], [4, "ngIf"], ["href", "#", "href", "javascript:void(0);", 3, "click", 4, "ngIf"], ["href", "#", "href", "javascript:void(0);", 3, "click"], [1, "fas", "fa-file-pdf"], ["colspan", "2", 2, "text-align", "right"], [1, "text-center"]], template: function NewEmployementComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](0, "nav", 0); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](1, "ol", 1); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](2, "li", 2); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](3, "a", 3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](6, "section", 4); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](7, "div", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](8, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](9, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementStart */ "ac"](10, "h1", 8); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtext */ "Vc"](11); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtemplate */ "Tc"](12, NewEmployementComponent_div_12_Template, 27, 23, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtemplate */ "Tc"](13, NewEmployementComponent_div_13_Template, 4, 3, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpropertyInterpolate */ "uc"]("routerLink", ctx.commonService.GetHomePageUrl()); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵpipeBind1 */ "oc"](5, 5, "Home_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](7); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵtextInterpolate */ "Wc"](ctx.translate.currentLang != "en" ? "\u0926\u094B \u0935\u0930\u094D\u0937 \u0915\u0940 \u0909\u092A\u0932\u092C\u094D\u0927\u093F\u092F\u094B\u0902 \u092A\u0930 \u0935\u093F\u092D\u093F\u0928\u094D\u0928 \u0935\u093F\u092D\u093E\u0917\u094B\u0902 \u0915\u0940 \u0915\u093E\u0930\u094D\u092F\u094B \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E \u090F\u0935\u0902 \u0932\u093E\u0917\u0924" : "Number and cost of work of various departments on two years of achievements"); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵproperty */ "tc"]("ngIf", ctx.model.length > 0); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵproperty */ "tc"]("ngIf", (ctx.model == undefined || ctx.model.length <= 0) && !ctx.IsLoading); } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_8__[/* RouterLinkWithHref */ "d"], _angular_common__WEBPACK_IMPORTED_MODULE_9__[/* NgIf */ "n"], _angular_common__WEBPACK_IMPORTED_MODULE_9__[/* NgForOf */ "m"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__[/* TranslatePipe */ "c"], ngx_pagination__WEBPACK_IMPORTED_MODULE_10__[/* PaginatePipe */ "b"]], styles: [""] }); return NewEmployementComponent; })(); /***/ }), /***/ "/9+q": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return NoRecordsComponent; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fXoL"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ofXK"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("sYmb"); function NoRecordsComponent_img_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelement */ "Wb"](0, "img", 3); } } const _c0 = function (a0) { return { color: a0 }; }; const _c1 = function (a0) { return { fontSize: a0 }; }; let NoRecordsComponent = /*@__PURE__*/ (() => { class NoRecordsComponent { constructor() { this.color = '#000'; this.showImage = false; this.fontSize = '200%'; } ngOnInit() { } } NoRecordsComponent.ɵfac = function NoRecordsComponent_Factory(t) { return new (t || NoRecordsComponent)(); }; NoRecordsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineComponent */ "Pb"]({ type: NoRecordsComponent, selectors: [["app-no-records"]], inputs: { color: "color", showImage: "showImage", fontSize: ["font-size", "fontSize"] }, decls: 5, vars: 10, consts: [[1, "not-record-found", "text-center", "not-record-found-default", 3, "ngStyle"], ["src", "assets/images/record-not-found.png", "alt", "Government of Rajasthan", 4, "ngIf"], [1, "mb-0", "mt-3", 3, "ngStyle"], ["src", "assets/images/record-not-found.png", "alt", "Government of Rajasthan"]], template: function NoRecordsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelementStart */ "ac"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵtemplate */ "Tc"](1, NoRecordsComponent_img_1_Template, 1, 0, "img", 1); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelementStart */ "ac"](2, "p", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵproperty */ "tc"]("ngStyle", _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵpureFunction1 */ "Ec"](6, _c0, ctx.color)); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵproperty */ "tc"]("ngIf", ctx.showImage); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵproperty */ "tc"]("ngStyle", _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵpureFunction1 */ "Ec"](8, _c1, ctx.fontSize)); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵpipeBind1 */ "oc"](4, 4, "NoRecordFound_txt")); } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[/* NgStyle */ "o"], _angular_common__WEBPACK_IMPORTED_MODULE_1__[/* NgIf */ "n"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__[/* TranslatePipe */ "c"]], styles: [""] }); return NoRecordsComponent; })(); /***/ }), /***/ 0: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__("zUnb"); /***/ }), /***/ "0EUg": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return concatAll; }); /* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bHdf"); function concatAll() { return Object(_mergeAll__WEBPACK_IMPORTED_MODULE_0__[/* mergeAll */ "a"])(1); } //# sourceMappingURL=concatAll.js.map /***/ }), /***/ "1cbQ": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* unused harmony export ProjectMasterViewModel */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ProjectFilterModel; }); /* unused harmony export ProjectEntryDetailFrontViewModel */ /* harmony import */ var _common_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("j672"); class ProjectMasterViewModel { constructor() { this.ProjectMappingItems = []; } } class ProjectFilterModel { constructor() { this.IsActive = true; this.AdmDepartmentCode = 0; this.DistrictDepartmentCode = 0; this.DepartmentCode = 0; this.DistrictCode = 0; this.MPConstituencyCode = 0; this.MLAConstituencyCode = 0; this.StatusCode = 0; this.StartYearCode = 0; this.SectorCode = 0; this.CategoryCode = 0; this.SubCategoryCode = 0; this.WorkTypeCode = 0; this.IsActive = true; this.IndexModel = new _common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); } } class ProjectEntryDetailFrontViewModel { } /***/ }), /***/ "1pIY": /***/ (function(module, exports, __webpack_require__) { "use strict"; /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var AsyncAction_1 = /*@__PURE__*/ __webpack_require__("2tF/"); var AsyncScheduler_1 = /*@__PURE__*/ __webpack_require__("NTcF"); exports.asyncScheduler = /*@__PURE__*/ new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction); exports.async = exports.asyncScheduler; /***/ }), /***/ "2QA8": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return rxSubscriber; }); /* unused harmony export $$rxSubscriber */ const rxSubscriber = /*@__PURE__*/ (() => typeof Symbol === 'function' ? Symbol('rxSubscriber') : '@@rxSubscriber_' + Math.random())(); const $$rxSubscriber = rxSubscriber; //# sourceMappingURL=rxSubscriber.js.map /***/ }), /***/ "2Vo4": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BehaviorSubject; }); /* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("XNiG"); /* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9ppp"); class BehaviorSubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__[/* Subject */ "a"] { constructor(_value) { super(); this._value = _value; } get value() { return this.getValue(); } _subscribe(subscriber) { const subscription = super._subscribe(subscriber); if (subscription && !subscription.closed) { subscriber.next(this._value); } return subscription; } getValue() { if (this.hasError) { throw this.thrownError; } else if (this.closed) { throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__[/* ObjectUnsubscribedError */ "a"](); } else { return this._value; } } next(value) { super.next(this._value = value); } } //# sourceMappingURL=BehaviorSubject.js.map /***/ }), /***/ "2fFW": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return config; }); let _enable_super_gross_mode_that_will_cause_bad_things = false; const config = { Promise: undefined, set useDeprecatedSynchronousErrorHandling(value) { if (value) { const error = new Error(); console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack); } else if (_enable_super_gross_mode_that_will_cause_bad_things) { console.log('RxJS: Back to a better error behavior. Thank you. <3'); } _enable_super_gross_mode_that_will_cause_bad_things = value; }, get useDeprecatedSynchronousErrorHandling() { return _enable_super_gross_mode_that_will_cause_bad_things; }, }; //# sourceMappingURL=config.js.map /***/ }), /***/ "2tF/": /***/ (function(module, exports, __webpack_require__) { "use strict"; var __extends = (this && this.__extends) || /*@__PURE__*/ (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var Action_1 = /*@__PURE__*/ __webpack_require__("Dz+M"); var AsyncAction = /*@__PURE__*/ (function (_super) { __extends(AsyncAction, _super); function AsyncAction(scheduler, work) { var _this = _super.call(this, scheduler, work) || this; _this.scheduler = scheduler; _this.work = work; _this.pending = false; return _this; } AsyncAction.prototype.schedule = function (state, delay) { if (delay === void 0) { delay = 0; } if (this.closed) { return this; } this.state = state; var id = this.id; var scheduler = this.scheduler; if (id != null) { this.id = this.recycleAsyncId(scheduler, id, delay); } this.pending = true; this.delay = delay; this.id = this.id || this.requestAsyncId(scheduler, this.id, delay); return this; }; AsyncAction.prototype.requestAsyncId = function (scheduler, id, delay) { if (delay === void 0) { delay = 0; } return setInterval(scheduler.flush.bind(scheduler, this), delay); }; AsyncAction.prototype.recycleAsyncId = function (scheduler, id, delay) { if (delay === void 0) { delay = 0; } if (delay !== null && this.delay === delay && this.pending === false) { return id; } clearInterval(id); return undefined; }; AsyncAction.prototype.execute = function (state, delay) { if (this.closed) { return new Error('executing a cancelled action'); } this.pending = false; var error = this._execute(state, delay); if (error) { return error; } else if (this.pending === false && this.id != null) { this.id = this.recycleAsyncId(this.scheduler, this.id, null); } }; AsyncAction.prototype._execute = function (state, delay) { var errored = false; var errorValue = undefined; try { this.work(state); } catch (e) { errored = true; errorValue = !!e && e || new Error(e); } if (errored) { this.unsubscribe(); return errorValue; } }; AsyncAction.prototype._unsubscribe = function () { var id = this.id; var scheduler = this.scheduler; var actions = scheduler.actions; var index = actions.indexOf(this); this.work = null; this.state = null; this.pending = false; this.scheduler = null; if (index !== -1) { actions.splice(index, 1); } if (id != null) { this.id = this.recycleAsyncId(scheduler, id, null); } this.delay = null; }; return AsyncAction; }(Action_1.Action)); exports.AsyncAction = AsyncAction; /***/ }), /***/ "3N8a": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/Subscription.js + 1 modules var Subscription = __webpack_require__("quSY"); // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/scheduler/Action.js class Action_Action extends Subscription["a" /* Subscription */] { constructor(scheduler, work) { super(); } schedule(state, delay = 0) { return this; } } //# sourceMappingURL=Action.js.map // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AsyncAction_AsyncAction; }); class AsyncAction_AsyncAction extends Action_Action { constructor(scheduler, work) { super(scheduler, work); this.scheduler = scheduler; this.work = work; this.pending = false; } schedule(state, delay = 0) { if (this.closed) { return this; } this.state = state; const id = this.id; const scheduler = this.scheduler; if (id != null) { this.id = this.recycleAsyncId(scheduler, id, delay); } this.pending = true; this.delay = delay; this.id = this.id || this.requestAsyncId(scheduler, this.id, delay); return this; } requestAsyncId(scheduler, id, delay = 0) { return setInterval(scheduler.flush.bind(scheduler, this), delay); } recycleAsyncId(scheduler, id, delay = 0) { if (delay !== null && this.delay === delay && this.pending === false) { return id; } clearInterval(id); return undefined; } execute(state, delay) { if (this.closed) { return new Error('executing a cancelled action'); } this.pending = false; const error = this._execute(state, delay); if (error) { return error; } else if (this.pending === false && this.id != null) { this.id = this.recycleAsyncId(this.scheduler, this.id, null); } } _execute(state, delay) { let errored = false; let errorValue = undefined; try { this.work(state); } catch (e) { errored = true; errorValue = !!e && e || new Error(e); } if (errored) { this.unsubscribe(); return errorValue; } } _unsubscribe() { const id = this.id; const scheduler = this.scheduler; const actions = scheduler.actions; const index = actions.indexOf(this); this.work = null; this.state = null; this.pending = false; this.scheduler = null; if (index !== -1) { actions.splice(index, 1); } if (id != null) { this.id = this.recycleAsyncId(scheduler, id, null); } this.delay = null; } } //# sourceMappingURL=AsyncAction.js.map /***/ }), /***/ "3Pt+": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* unused harmony export AbstractControl */ /* unused harmony export AbstractControlDirective */ /* unused harmony export AbstractFormGroupDirective */ /* unused harmony export COMPOSITION_BUFFER_MODE */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CheckboxControlValueAccessor; }); /* unused harmony export CheckboxRequiredValidator */ /* unused harmony export ControlContainer */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return DefaultValueAccessor; }); /* unused harmony export EmailValidator */ /* unused harmony export FormArray */ /* unused harmony export FormArrayName */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return FormBuilder; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return FormControl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return FormControlDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return FormControlName; }); /* unused harmony export FormGroup */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return FormGroupDirective; }); /* unused harmony export FormGroupName */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return FormsModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return MaxLengthValidator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return MinLengthValidator; }); /* unused harmony export NG_ASYNC_VALIDATORS */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return NG_VALIDATORS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return NG_VALUE_ACCESSOR; }); /* unused harmony export NgControl */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return NgControlStatus; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return NgControlStatusGroup; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return NgForm; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return NgModel; }); /* unused harmony export NgModelGroup */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return NgSelectOption; }); /* unused harmony export NumberValueAccessor */ /* unused harmony export PatternValidator */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return RadioControlValueAccessor; }); /* unused harmony export RangeValueAccessor */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return ReactiveFormsModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return RequiredValidator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return SelectControlValueAccessor; }); /* unused harmony export SelectMultipleControlValueAccessor */ /* unused harmony export VERSION */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return Validators; }); /* unused harmony export ɵInternalFormsSharedModule */ /* unused harmony export ɵNgNoValidate */ /* unused harmony export ɵNgSelectMultipleOption */ /* unused harmony export ɵangular_packages_forms_forms_a */ /* unused harmony export ɵangular_packages_forms_forms_b */ /* unused harmony export ɵangular_packages_forms_forms_ba */ /* unused harmony export ɵangular_packages_forms_forms_bb */ /* unused harmony export ɵangular_packages_forms_forms_bc */ /* unused harmony export ɵangular_packages_forms_forms_bd */ /* unused harmony export ɵangular_packages_forms_forms_be */ /* unused harmony export ɵangular_packages_forms_forms_c */ /* unused harmony export ɵangular_packages_forms_forms_d */ /* unused harmony export ɵangular_packages_forms_forms_e */ /* unused harmony export ɵangular_packages_forms_forms_f */ /* unused harmony export ɵangular_packages_forms_forms_g */ /* unused harmony export ɵangular_packages_forms_forms_h */ /* unused harmony export ɵangular_packages_forms_forms_i */ /* unused harmony export ɵangular_packages_forms_forms_j */ /* unused harmony export ɵangular_packages_forms_forms_k */ /* unused harmony export ɵangular_packages_forms_forms_l */ /* unused harmony export ɵangular_packages_forms_forms_m */ /* unused harmony export ɵangular_packages_forms_forms_n */ /* unused harmony export ɵangular_packages_forms_forms_o */ /* unused harmony export ɵangular_packages_forms_forms_p */ /* unused harmony export ɵangular_packages_forms_forms_q */ /* unused harmony export ɵangular_packages_forms_forms_r */ /* unused harmony export ɵangular_packages_forms_forms_s */ /* unused harmony export ɵangular_packages_forms_forms_t */ /* unused harmony export ɵangular_packages_forms_forms_u */ /* unused harmony export ɵangular_packages_forms_forms_v */ /* unused harmony export ɵangular_packages_forms_forms_w */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return ɵNgSelectMultipleOption; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return ɵNgNoValidate; }); /* unused harmony export ɵangular_packages_forms_forms_z */ /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fXoL"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ofXK"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("cp0P"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("Cfvw"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("lJxs"); /** * @license Angular v9.0.7 * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/control_value_accessor.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * \@description * Defines an interface that acts as a bridge between the Angular forms API and a * native element in the DOM. * * Implement this interface to create a custom form control directive * that integrates with Angular forms. * * @see DefaultValueAccessor * * \@publicApi * @record */ function ControlValueAccessor() { } if (false) {} /** * Used to provide a `ControlValueAccessor` for form controls. * * See `DefaultValueAccessor` for how to implement one. * * \@publicApi * @type {?} */ const NG_VALUE_ACCESSOR = /*@__PURE__*/ new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* InjectionToken */ "t"]('NgValueAccessor'); /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/checkbox_value_accessor.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const CHECKBOX_VALUE_ACCESSOR = { provide: NG_VALUE_ACCESSOR, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => CheckboxControlValueAccessor)), multi: true, }; let CheckboxControlValueAccessor = /*@__PURE__*/ (() => { class CheckboxControlValueAccessor { /** * @param {?} _renderer * @param {?} _elementRef */ constructor(_renderer, _elementRef) { this._renderer = _renderer; this._elementRef = _elementRef; /** * \@description * The registered callback function called when a change event occurs on the input element. */ this.onChange = ( /** * @param {?} _ * @return {?} */(_) => { }); /** * \@description * The registered callback function called when a blur event occurs on the input element. */ this.onTouched = ( /** * @return {?} */() => { }); } /** * Sets the "checked" property on the input element. * * @param {?} value The checked value * @return {?} */ writeValue(value) { this._renderer.setProperty(this._elementRef.nativeElement, 'checked', value); } /** * \@description * Registers a function called when the control value changes. * * @param {?} fn The callback function * @return {?} */ registerOnChange(fn) { this.onChange = fn; } /** * \@description * Registers a function called when the control is touched. * * @param {?} fn The callback function * @return {?} */ registerOnTouched(fn) { this.onTouched = fn; } /** * Sets the "disabled" property on the input element. * * @param {?} isDisabled The disabled value * @return {?} */ setDisabledState(isDisabled) { this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); } } CheckboxControlValueAccessor.ɵfac = function CheckboxControlValueAccessor_Factory(t) { return new (t || CheckboxControlValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"])); }; CheckboxControlValueAccessor.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: CheckboxControlValueAccessor, selectors: [["input", "type", "checkbox", "formControlName", ""], ["input", "type", "checkbox", "formControl", ""], ["input", "type", "checkbox", "ngModel", ""]], hostBindings: function CheckboxControlValueAccessor_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("change", function CheckboxControlValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.checked); })("blur", function CheckboxControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); }); } }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([CHECKBOX_VALUE_ACCESSOR])] }); return CheckboxControlValueAccessor; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/default_value_accessor.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE_ACCESSOR = { provide: NG_VALUE_ACCESSOR, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => DefaultValueAccessor)), multi: true }; /** * We must check whether the agent is Android because composition events * behave differently between iOS and Android. * @return {?} */ function _isAndroid() { /** @type {?} */ const userAgent = Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[/* ɵgetDOM */ "z"])() ? Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[/* ɵgetDOM */ "z"])().getUserAgent() : ''; return /android (\d+)/.test(userAgent.toLowerCase()); } /** * \@description * Provide this token to control if form directives buffer IME input until * the "compositionend" event occurs. * \@publicApi * @type {?} */ const COMPOSITION_BUFFER_MODE = /*@__PURE__*/ new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* InjectionToken */ "t"]('CompositionEventMode'); let DefaultValueAccessor = /*@__PURE__*/ (() => { class DefaultValueAccessor { /** * @param {?} _renderer * @param {?} _elementRef * @param {?} _compositionMode */ constructor(_renderer, _elementRef, _compositionMode) { this._renderer = _renderer; this._elementRef = _elementRef; this._compositionMode = _compositionMode; /** * \@description * The registered callback function called when an input event occurs on the input element. */ this.onChange = ( /** * @param {?} _ * @return {?} */(_) => { }); /** * \@description * The registered callback function called when a blur event occurs on the input element. */ this.onTouched = ( /** * @return {?} */() => { }); /** * Whether the user is creating a composition string (IME events). */ this._composing = false; if (this._compositionMode == null) { this._compositionMode = !_isAndroid(); } } /** * Sets the "value" property on the input element. * * @param {?} value The checked value * @return {?} */ writeValue(value) { /** @type {?} */ const normalizedValue = value == null ? '' : value; this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue); } /** * \@description * Registers a function called when the control value changes. * * @param {?} fn The callback function * @return {?} */ registerOnChange(fn) { this.onChange = fn; } /** * \@description * Registers a function called when the control is touched. * * @param {?} fn The callback function * @return {?} */ registerOnTouched(fn) { this.onTouched = fn; } /** * Sets the "disabled" property on the input element. * * @param {?} isDisabled The disabled value * @return {?} */ setDisabledState(isDisabled) { this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); } /** * \@internal * @param {?} value * @return {?} */ _handleInput(value) { if (!this._compositionMode || (this._compositionMode && !this._composing)) { this.onChange(value); } } /** * \@internal * @return {?} */ _compositionStart() { this._composing = true; } /** * \@internal * @param {?} value * @return {?} */ _compositionEnd(value) { this._composing = false; this._compositionMode && this.onChange(value); } } DefaultValueAccessor.ɵfac = function DefaultValueAccessor_Factory(t) { return new (t || DefaultValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](COMPOSITION_BUFFER_MODE, 8)); }; DefaultValueAccessor.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: DefaultValueAccessor, selectors: [["input", "formControlName", "", 3, "type", "checkbox"], ["textarea", "formControlName", ""], ["input", "formControl", "", 3, "type", "checkbox"], ["textarea", "formControl", ""], ["input", "ngModel", "", 3, "type", "checkbox"], ["textarea", "ngModel", ""], ["", "ngDefaultControl", ""]], hostBindings: function DefaultValueAccessor_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("input", function DefaultValueAccessor_input_HostBindingHandler($event) { return ctx._handleInput($event.target.value); })("blur", function DefaultValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); })("compositionstart", function DefaultValueAccessor_compositionstart_HostBindingHandler() { return ctx._compositionStart(); })("compositionend", function DefaultValueAccessor_compositionend_HostBindingHandler($event) { return ctx._compositionEnd($event.target.value); }); } }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([DEFAULT_VALUE_ACCESSOR])] }); return DefaultValueAccessor; })(); if (false) {} let AbstractControlDirective = /*@__PURE__*/ (() => { class AbstractControlDirective { /** * \@description * Reports the value of the control if it is present, otherwise null. * @return {?} */ get value() { return this.control ? this.control.value : null; } /** * \@description * Reports whether the control is valid. A control is considered valid if no * validation errors exist with the current value. * If the control is not present, null is returned. * @return {?} */ get valid() { return this.control ? this.control.valid : null; } /** * \@description * Reports whether the control is invalid, meaning that an error exists in the input value. * If the control is not present, null is returned. * @return {?} */ get invalid() { return this.control ? this.control.invalid : null; } /** * \@description * Reports whether a control is pending, meaning that that async validation is occurring and * errors are not yet available for the input value. If the control is not present, null is * returned. * @return {?} */ get pending() { return this.control ? this.control.pending : null; } /** * \@description * Reports whether the control is disabled, meaning that the control is disabled * in the UI and is exempt from validation checks and excluded from aggregate * values of ancestor controls. If the control is not present, null is returned. * @return {?} */ get disabled() { return this.control ? this.control.disabled : null; } /** * \@description * Reports whether the control is enabled, meaning that the control is included in ancestor * calculations of validity or value. If the control is not present, null is returned. * @return {?} */ get enabled() { return this.control ? this.control.enabled : null; } /** * \@description * Reports the control's validation errors. If the control is not present, null is returned. * @return {?} */ get errors() { return this.control ? this.control.errors : null; } /** * \@description * Reports whether the control is pristine, meaning that the user has not yet changed * the value in the UI. If the control is not present, null is returned. * @return {?} */ get pristine() { return this.control ? this.control.pristine : null; } /** * \@description * Reports whether the control is dirty, meaning that the user has changed * the value in the UI. If the control is not present, null is returned. * @return {?} */ get dirty() { return this.control ? this.control.dirty : null; } /** * \@description * Reports whether the control is touched, meaning that the user has triggered * a `blur` event on it. If the control is not present, null is returned. * @return {?} */ get touched() { return this.control ? this.control.touched : null; } /** * \@description * Reports the validation status of the control. Possible values include: * 'VALID', 'INVALID', 'DISABLED', and 'PENDING'. * If the control is not present, null is returned. * @return {?} */ get status() { return this.control ? this.control.status : null; } /** * \@description * Reports whether the control is untouched, meaning that the user has not yet triggered * a `blur` event on it. If the control is not present, null is returned. * @return {?} */ get untouched() { return this.control ? this.control.untouched : null; } /** * \@description * Returns a multicasting observable that emits a validation status whenever it is * calculated for the control. If the control is not present, null is returned. * @return {?} */ get statusChanges() { return this.control ? this.control.statusChanges : null; } /** * \@description * Returns a multicasting observable of value changes for the control that emits every time the * value of the control changes in the UI or programmatically. * If the control is not present, null is returned. * @return {?} */ get valueChanges() { return this.control ? this.control.valueChanges : null; } /** * \@description * Returns an array that represents the path from the top-level form to this control. * Each index is the string name of the control on that level. * @return {?} */ get path() { return null; } /** * \@description * Resets the control with the provided value if the control is present. * @param {?=} value * @return {?} */ reset(value = undefined) { if (this.control) this.control.reset(value); } /** * \@description * Reports whether the control with the given path has the error specified. * * \@usageNotes * For example, for the following `FormGroup`: * * ``` * form = new FormGroup({ * address: new FormGroup({ street: new FormControl() }) * }); * ``` * * The path to the 'street' control from the root form would be 'address' -> 'street'. * * It can be provided to this method in one of two formats: * * 1. An array of string control names, e.g. `['address', 'street']` * 1. A period-delimited list of control names in one string, e.g. `'address.street'` * * If no path is given, this method checks for the error on the current control. * * @param {?} errorCode The code of the error to check * @param {?=} path A list of control names that designates how to move from the current control * to the control that should be queried for errors. * * @return {?} whether the given error is present in the control at the given path. * * If the control is not present, false is returned. */ hasError(errorCode, path) { return this.control ? this.control.hasError(errorCode, path) : false; } /** * \@description * Reports error data for the control with the given path. * * \@usageNotes * For example, for the following `FormGroup`: * * ``` * form = new FormGroup({ * address: new FormGroup({ street: new FormControl() }) * }); * ``` * * The path to the 'street' control from the root form would be 'address' -> 'street'. * * It can be provided to this method in one of two formats: * * 1. An array of string control names, e.g. `['address', 'street']` * 1. A period-delimited list of control names in one string, e.g. `'address.street'` * * @param {?} errorCode The code of the error to check * @param {?=} path A list of control names that designates how to move from the current control * to the control that should be queried for errors. * * @return {?} error data for that particular error. If the control or error is not present, * null is returned. */ getError(errorCode, path) { return this.control ? this.control.getError(errorCode, path) : null; } } AbstractControlDirective.ɵfac = function AbstractControlDirective_Factory(t) { return new (t || AbstractControlDirective)(); }; AbstractControlDirective.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: AbstractControlDirective }); return AbstractControlDirective; })(); if (false) {} let ControlContainer = /*@__PURE__*/ (() => { class ControlContainer extends AbstractControlDirective { /** * \@description * The top-level form directive for the control. * @return {?} */ get formDirective() { return null; } /** * \@description * The path to this group. * @return {?} */ get path() { return null; } } ControlContainer.ɵfac = function ControlContainer_Factory(t) { return ɵControlContainer_BaseFactory(t || ControlContainer); }; ControlContainer.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: ControlContainer, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return ControlContainer; })(); const ɵControlContainer_BaseFactory = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵgetInheritedFactory */ "cc"](ControlContainer); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/ng_control.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @return {?} */ function unimplemented() { throw new Error('unimplemented'); } /** * \@description * A base class that all control `FormControl`-based directives extend. It binds a `FormControl` * object to a DOM element. * * \@publicApi * @abstract */ class NgControl extends AbstractControlDirective { constructor() { super(...arguments); /** * \@description * The parent form for the control. * * \@internal */ this._parent = null; /** * \@description * The name for the control */ this.name = null; /** * \@description * The value accessor for the control */ this.valueAccessor = null; /** * \@description * The uncomposed array of synchronous validators for the control * * \@internal */ this._rawValidators = []; /** * \@description * The uncomposed array of async validators for the control * * \@internal */ this._rawAsyncValidators = []; } /** * \@description * The registered synchronous validator function for the control * * @throws An exception that this method is not implemented * @return {?} */ get validator() { return ( /** @type {?} */(unimplemented())); } /** * \@description * The registered async validator function for the control * * @throws An exception that this method is not implemented * @return {?} */ get asyncValidator() { return ( /** @type {?} */(unimplemented())); } } if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/ng_control_status.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class AbstractControlStatus { /** * @param {?} cd */ constructor(cd) { this._cd = cd; } /** * @return {?} */ get ngClassUntouched() { return this._cd.control ? this._cd.control.untouched : false; } /** * @return {?} */ get ngClassTouched() { return this._cd.control ? this._cd.control.touched : false; } /** * @return {?} */ get ngClassPristine() { return this._cd.control ? this._cd.control.pristine : false; } /** * @return {?} */ get ngClassDirty() { return this._cd.control ? this._cd.control.dirty : false; } /** * @return {?} */ get ngClassValid() { return this._cd.control ? this._cd.control.valid : false; } /** * @return {?} */ get ngClassInvalid() { return this._cd.control ? this._cd.control.invalid : false; } /** * @return {?} */ get ngClassPending() { return this._cd.control ? this._cd.control.pending : false; } } if (false) {} /** @type {?} */ const ngControlStatusHost = { '[class.ng-untouched]': 'ngClassUntouched', '[class.ng-touched]': 'ngClassTouched', '[class.ng-pristine]': 'ngClassPristine', '[class.ng-dirty]': 'ngClassDirty', '[class.ng-valid]': 'ngClassValid', '[class.ng-invalid]': 'ngClassInvalid', '[class.ng-pending]': 'ngClassPending', }; let NgControlStatus = /*@__PURE__*/ (() => { class NgControlStatus extends AbstractControlStatus { /** * @param {?} cd */ constructor(cd) { super(cd); } } NgControlStatus.ɵfac = function NgControlStatus_Factory(t) { return new (t || NgControlStatus)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NgControl, 2)); }; NgControlStatus.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: NgControlStatus, selectors: [["", "formControlName", ""], ["", "ngModel", ""], ["", "formControl", ""]], hostVars: 14, hostBindings: function NgControlStatus_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵclassProp */ "Mb"]("ng-untouched", ctx.ngClassUntouched)("ng-touched", ctx.ngClassTouched)("ng-pristine", ctx.ngClassPristine)("ng-dirty", ctx.ngClassDirty)("ng-valid", ctx.ngClassValid)("ng-invalid", ctx.ngClassInvalid)("ng-pending", ctx.ngClassPending); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return NgControlStatus; })(); let NgControlStatusGroup = /*@__PURE__*/ (() => { class NgControlStatusGroup extends AbstractControlStatus { /** * @param {?} cd */ constructor(cd) { super(cd); } } NgControlStatusGroup.ɵfac = function NgControlStatusGroup_Factory(t) { return new (t || NgControlStatusGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](ControlContainer, 2)); }; NgControlStatusGroup.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: NgControlStatusGroup, selectors: [["", "formGroupName", ""], ["", "formArrayName", ""], ["", "ngModelGroup", ""], ["", "formGroup", ""], ["form", 3, "ngNoForm", ""], ["", "ngForm", ""]], hostVars: 14, hostBindings: function NgControlStatusGroup_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵclassProp */ "Mb"]("ng-untouched", ctx.ngClassUntouched)("ng-touched", ctx.ngClassTouched)("ng-pristine", ctx.ngClassPristine)("ng-dirty", ctx.ngClassDirty)("ng-valid", ctx.ngClassValid)("ng-invalid", ctx.ngClassInvalid)("ng-pending", ctx.ngClassPending); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return NgControlStatusGroup; })(); /** * @fileoverview added by tsickle * Generated from: packages/forms/src/validators.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @param {?} value * @return {?} */ function isEmptyInputValue(value) { // we don't check for string here so it also works with arrays return value == null || value.length === 0; } /** * \@description * An `InjectionToken` for registering additional synchronous validators used with `AbstractControl`s. * * @see `NG_ASYNC_VALIDATORS` * * \@usageNotes * * ### Providing a custom validator * * The following example registers a custom validator directive. Adding the validator to the * existing collection of validators requires the `multi: true` option. * * ```typescript * \@Directive({ * selector: '[customValidator]', * providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}] * }) * class CustomValidatorDirective implements Validator { * validate(control: AbstractControl): ValidationErrors | null { * return { 'custom': true }; * } * } * ``` * * \@publicApi * @type {?} */ const NG_VALIDATORS = /*@__PURE__*/ new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* InjectionToken */ "t"]('NgValidators'); /** * \@description * An `InjectionToken` for registering additional asynchronous validators used with `AbstractControl`s. * * @see `NG_VALIDATORS` * * \@publicApi * @type {?} */ const NG_ASYNC_VALIDATORS = /*@__PURE__*/ new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* InjectionToken */ "t"]('NgAsyncValidators'); /** * A regular expression that matches valid e-mail addresses. * * At a high level, this regexp matches e-mail addresses of the format `local-part\@tld`, where: * - `local-part` consists of one or more of the allowed characters (alphanumeric and some * punctuation symbols). * - `local-part` cannot begin or end with a period (`.`). * - `local-part` cannot be longer than 64 characters. * - `tld` consists of one or more `labels` separated by periods (`.`). For example `localhost` or * `foo.com`. * - A `label` consists of one or more of the allowed characters (alphanumeric, dashes (`-`) and * periods (`.`)). * - A `label` cannot begin or end with a dash (`-`) or a period (`.`). * - A `label` cannot be longer than 63 characters. * - The whole address cannot be longer than 254 characters. * * ## Implementation background * * This regexp was ported over from AngularJS (see there for git history): * https://github.com/angular/angular.js/blob/c133ef836/src/ng/directive/input.js#L27 * It is based on the * [WHATWG version](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with * some enhancements to incorporate more RFC rules (such as rules related to domain names and the * lengths of different parts of the address). The main differences from the WHATWG version are: * - Disallow `local-part` to begin or end with a period (`.`). * - Disallow `local-part` length to exceed 64 characters. * - Disallow total address length to exceed 254 characters. * * See [this commit](https://github.com/angular/angular.js/commit/f3f5cf72e) for more details. * @type {?} */ const EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/; /** * \@description * Provides a set of built-in validators that can be used by form controls. * * A validator is a function that processes a `FormControl` or collection of * controls and returns an error map or null. A null map means that validation has passed. * * @see [Form Validation](/guide/form-validation) * * \@publicApi */ class Validators { /** * \@description * Validator that requires the control's value to be greater than or equal to the provided number. * The validator exists only as a function and not as a directive. * * \@usageNotes * * ### Validate against a minimum of 3 * * ```typescript * const control = new FormControl(2, Validators.min(3)); * * console.log(control.errors); // {min: {min: 3, actual: 2}} * ``` * * @see `updateValueAndValidity()` * * @param {?} min * @return {?} A validator function that returns an error map with the * `min` property if the validation check fails, otherwise `null`. * */ static min(min) { return ( /** * @param {?} control * @return {?} */(control) => { if (isEmptyInputValue(control.value) || isEmptyInputValue(min)) { return null; // don't validate empty values to allow optional controls } /** @type {?} */ const value = parseFloat(control.value); // Controls with NaN values after parsing should be treated as not having a // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min return !isNaN(value) && value < min ? { 'min': { 'min': min, 'actual': control.value } } : null; }); } /** * \@description * Validator that requires the control's value to be less than or equal to the provided number. * The validator exists only as a function and not as a directive. * * \@usageNotes * * ### Validate against a maximum of 15 * * ```typescript * const control = new FormControl(16, Validators.max(15)); * * console.log(control.errors); // {max: {max: 15, actual: 16}} * ``` * * @see `updateValueAndValidity()` * * @param {?} max * @return {?} A validator function that returns an error map with the * `max` property if the validation check fails, otherwise `null`. * */ static max(max) { return ( /** * @param {?} control * @return {?} */(control) => { if (isEmptyInputValue(control.value) || isEmptyInputValue(max)) { return null; // don't validate empty values to allow optional controls } /** @type {?} */ const value = parseFloat(control.value); // Controls with NaN values after parsing should be treated as not having a // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max return !isNaN(value) && value > max ? { 'max': { 'max': max, 'actual': control.value } } : null; }); } /** * \@description * Validator that requires the control have a non-empty value. * * \@usageNotes * * ### Validate that the field is non-empty * * ```typescript * const control = new FormControl('', Validators.required); * * console.log(control.errors); // {required: true} * ``` * * @see `updateValueAndValidity()` * * @param {?} control * @return {?} An error map with the `required` property * if the validation check fails, otherwise `null`. * */ static required(control) { return isEmptyInputValue(control.value) ? { 'required': true } : null; } /** * \@description * Validator that requires the control's value be true. This validator is commonly * used for required checkboxes. * * \@usageNotes * * ### Validate that the field value is true * * ```typescript * const control = new FormControl('', Validators.requiredTrue); * * console.log(control.errors); // {required: true} * ``` * * @see `updateValueAndValidity()` * * @param {?} control * @return {?} An error map that contains the `required` property * set to `true` if the validation check fails, otherwise `null`. * */ static requiredTrue(control) { return control.value === true ? null : { 'required': true }; } /** * \@description * Validator that requires the control's value pass an email validation test. * * Tests the value using a [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) * pattern suitable for common usecases. The pattern is based on the definition of a valid email * address in the [WHATWG HTML specification](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) * with some enhancements to incorporate more RFC rules (such as rules related to domain names and * the lengths of different parts of the address). * * The differences from the WHATWG version include: * - Disallow `local-part` (the part before the `\@` symbol) to begin or end with a period (`.`). * - Disallow `local-part` to be longer than 64 characters. * - Disallow the whole address to be longer than 254 characters. * * If this pattern does not satisfy your business needs, you can use `Validators.pattern()` to * validate the value against a different pattern. * * \@usageNotes * * ### Validate that the field matches a valid email pattern * * ```typescript * const control = new FormControl('bad\@', Validators.email); * * console.log(control.errors); // {email: true} * ``` * * @see `updateValueAndValidity()` * * @param {?} control * @return {?} An error map with the `email` property * if the validation check fails, otherwise `null`. * */ static email(control) { if (isEmptyInputValue(control.value)) { return null; // don't validate empty values to allow optional controls } return EMAIL_REGEXP.test(control.value) ? null : { 'email': true }; } /** * \@description * Validator that requires the length of the control's value to be greater than or equal * to the provided minimum length. This validator is also provided by default if you use the * the HTML5 `minlength` attribute. * * \@usageNotes * * ### Validate that the field has a minimum of 3 characters * * ```typescript * const control = new FormControl('ng', Validators.minLength(3)); * * console.log(control.errors); // {minlength: {requiredLength: 3, actualLength: 2}} * ``` * * ```html * * ``` * * @see `updateValueAndValidity()` * * @param {?} minLength * @return {?} A validator function that returns an error map with the * `minlength` if the validation check fails, otherwise `null`. * */ static minLength(minLength) { return ( /** * @param {?} control * @return {?} */(control) => { if (isEmptyInputValue(control.value)) { return null; // don't validate empty values to allow optional controls } /** @type {?} */ const length = control.value ? control.value.length : 0; return length < minLength ? { 'minlength': { 'requiredLength': minLength, 'actualLength': length } } : null; }); } /** * \@description * Validator that requires the length of the control's value to be less than or equal * to the provided maximum length. This validator is also provided by default if you use the * the HTML5 `maxlength` attribute. * * \@usageNotes * * ### Validate that the field has maximum of 5 characters * * ```typescript * const control = new FormControl('Angular', Validators.maxLength(5)); * * console.log(control.errors); // {maxlength: {requiredLength: 5, actualLength: 7}} * ``` * * ```html * * ``` * * @see `updateValueAndValidity()` * * @param {?} maxLength * @return {?} A validator function that returns an error map with the * `maxlength` property if the validation check fails, otherwise `null`. * */ static maxLength(maxLength) { return ( /** * @param {?} control * @return {?} */(control) => { /** @type {?} */ const length = control.value ? control.value.length : 0; return length > maxLength ? { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } } : null; }); } /** * \@description * Validator that requires the control's value to match a regex pattern. This validator is also * provided by default if you use the HTML5 `pattern` attribute. * * \@usageNotes * * ### Validate that the field only contains letters or spaces * * ```typescript * const control = new FormControl('1', Validators.pattern('[a-zA-Z ]*')); * * console.log(control.errors); // {pattern: {requiredPattern: '^[a-zA-Z ]*$', actualValue: '1'}} * ``` * * ```html * * ``` * * @see `updateValueAndValidity()` * * @param {?} pattern A regular expression to be used as is to test the values, or a string. * If a string is passed, the `^` character is prepended and the `$` character is * appended to the provided string (if not already present), and the resulting regular * expression is used to test the values. * * @return {?} A validator function that returns an error map with the * `pattern` property if the validation check fails, otherwise `null`. * */ static pattern(pattern) { if (!pattern) return Validators.nullValidator; /** @type {?} */ let regex; /** @type {?} */ let regexStr; if (typeof pattern === 'string') { regexStr = ''; if (pattern.charAt(0) !== '^') regexStr += '^'; regexStr += pattern; if (pattern.charAt(pattern.length - 1) !== '$') regexStr += '$'; regex = new RegExp(regexStr); } else { regexStr = pattern.toString(); regex = pattern; } return ( /** * @param {?} control * @return {?} */(control) => { if (isEmptyInputValue(control.value)) { return null; // don't validate empty values to allow optional controls } /** @type {?} */ const value = control.value; return regex.test(value) ? null : { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } }; }); } /** * \@description * Validator that performs no operation. * * @see `updateValueAndValidity()` * * @param {?} control * @return {?} */ static nullValidator(control) { return null; } /** * @param {?} validators * @return {?} */ static compose(validators) { if (!validators) return null; /** @type {?} */ const presentValidators = ( /** @type {?} */(validators.filter(isPresent))); if (presentValidators.length == 0) return null; return ( /** * @param {?} control * @return {?} */function (control) { return _mergeErrors(_executeValidators(control, presentValidators)); }); } /** * \@description * Compose multiple async validators into a single function that returns the union * of the individual error objects for the provided control. * * @see `updateValueAndValidity()` * * @param {?} validators * @return {?} A validator function that returns an error map with the * merged error objects of the async validators if the validation check fails, otherwise `null`. * */ static composeAsync(validators) { if (!validators) return null; /** @type {?} */ const presentValidators = ( /** @type {?} */(validators.filter(isPresent))); if (presentValidators.length == 0) return null; return ( /** * @param {?} control * @return {?} */function (control) { /** @type {?} */ const observables = _executeAsyncValidators(control, presentValidators).map(toObservable); return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[/* forkJoin */ "a"])(observables).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[/* map */ "a"])(_mergeErrors)); }); } } /** * @param {?} o * @return {?} */ function isPresent(o) { return o != null; } /** * @param {?} r * @return {?} */ function toObservable(r) { /** @type {?} */ const obs = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵisPromise */ "xb"])(r) ? Object(rxjs__WEBPACK_IMPORTED_MODULE_3__[/* from */ "a"])(r) : r; if (!(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵisObservable */ "wb"])(obs))) { throw new Error(`Expected validator to return Promise or Observable.`); } return obs; } /** * @param {?} control * @param {?} validators * @return {?} */ function _executeValidators(control, validators) { return validators.map(( /** * @param {?} v * @return {?} *//** * @param {?} v * @return {?} */ v => v(control))); } /** * @param {?} control * @param {?} validators * @return {?} */ function _executeAsyncValidators(control, validators) { return validators.map(( /** * @param {?} v * @return {?} *//** * @param {?} v * @return {?} */ v => v(control))); } /** * @param {?} arrayOfErrors * @return {?} */ function _mergeErrors(arrayOfErrors) { /** @type {?} */ let res = {}; // Not using Array.reduce here due to a Chrome 80 bug // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 arrayOfErrors.forEach(( /** * @param {?} errors * @return {?} */(errors) => { res = errors != null ? Object.assign(Object.assign({}, ( /** @type {?} */(res))), errors) : ( /** @type {?} */(res)); })); return Object.keys(res).length === 0 ? null : res; } /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/normalize_validator.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @param {?} validator * @return {?} */ function normalizeValidator(validator) { if ((( /** @type {?} */(validator))).validate) { return ( /** * @param {?} c * @return {?} */(c) => (( /** @type {?} */(validator))).validate(c)); } else { return ( /** @type {?} */(validator)); } } /** * @param {?} validator * @return {?} */ function normalizeAsyncValidator(validator) { if ((( /** @type {?} */(validator))).validate) { return ( /** * @param {?} c * @return {?} */(c) => (( /** @type {?} */(validator))).validate(c)); } else { return ( /** @type {?} */(validator)); } } /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/number_value_accessor.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const NUMBER_VALUE_ACCESSOR = { provide: NG_VALUE_ACCESSOR, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => NumberValueAccessor)), multi: true }; let NumberValueAccessor = /*@__PURE__*/ (() => { class NumberValueAccessor { /** * @param {?} _renderer * @param {?} _elementRef */ constructor(_renderer, _elementRef) { this._renderer = _renderer; this._elementRef = _elementRef; /** * \@description * The registered callback function called when a change or input event occurs on the input * element. */ this.onChange = ( /** * @param {?} _ * @return {?} */(_) => { }); /** * \@description * The registered callback function called when a blur event occurs on the input element. */ this.onTouched = ( /** * @return {?} */() => { }); } /** * Sets the "value" property on the input element. * * @param {?} value The checked value * @return {?} */ writeValue(value) { // The value needs to be normalized for IE9, otherwise it is set to 'null' when null /** @type {?} */ const normalizedValue = value == null ? '' : value; this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue); } /** * \@description * Registers a function called when the control value changes. * * @param {?} fn The callback function * @return {?} */ registerOnChange(fn) { this.onChange = ( /** * @param {?} value * @return {?} */(value) => { fn(value == '' ? null : parseFloat(value)); }); } /** * \@description * Registers a function called when the control is touched. * * @param {?} fn The callback function * @return {?} */ registerOnTouched(fn) { this.onTouched = fn; } /** * Sets the "disabled" property on the input element. * * @param {?} isDisabled The disabled value * @return {?} */ setDisabledState(isDisabled) { this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); } } NumberValueAccessor.ɵfac = function NumberValueAccessor_Factory(t) { return new (t || NumberValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"])); }; NumberValueAccessor.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: NumberValueAccessor, selectors: [["input", "type", "number", "formControlName", ""], ["input", "type", "number", "formControl", ""], ["input", "type", "number", "ngModel", ""]], hostBindings: function NumberValueAccessor_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("change", function NumberValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.value); })("input", function NumberValueAccessor_input_HostBindingHandler($event) { return ctx.onChange($event.target.value); })("blur", function NumberValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); }); } }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([NUMBER_VALUE_ACCESSOR])] }); return NumberValueAccessor; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/radio_control_value_accessor.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const RADIO_VALUE_ACCESSOR = { provide: NG_VALUE_ACCESSOR, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => RadioControlValueAccessor)), multi: true }; let RadioControlRegistry = /*@__PURE__*/ (() => { class RadioControlRegistry { constructor() { this._accessors = []; } /** * \@description * Adds a control to the internal registry. For internal use only. * @param {?} control * @param {?} accessor * @return {?} */ add(control, accessor) { this._accessors.push([control, accessor]); } /** * \@description * Removes a control from the internal registry. For internal use only. * @param {?} accessor * @return {?} */ remove(accessor) { for (let i = this._accessors.length - 1; i >= 0; --i) { if (this._accessors[i][1] === accessor) { this._accessors.splice(i, 1); return; } } } /** * \@description * Selects a radio button. For internal use only. * @param {?} accessor * @return {?} */ select(accessor) { this._accessors.forEach(( /** * @param {?} c * @return {?} */(c) => { if (this._isSameGroup(c, accessor) && c[1] !== accessor) { c[1].fireUncheck(accessor.value); } })); } /** * @private * @param {?} controlPair * @param {?} accessor * @return {?} */ _isSameGroup(controlPair, accessor) { if (!controlPair[0].control) return false; return controlPair[0]._parent === accessor._control._parent && controlPair[1].name === accessor.name; } } RadioControlRegistry.ɵfac = function RadioControlRegistry_Factory(t) { return new (t || RadioControlRegistry)(); }; RadioControlRegistry.ɵprov = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineInjectable */ "Rb"]({ token: RadioControlRegistry, factory: RadioControlRegistry.ɵfac }); return RadioControlRegistry; })(); if (false) {} let RadioControlValueAccessor = /*@__PURE__*/ (() => { class RadioControlValueAccessor { /** * @param {?} _renderer * @param {?} _elementRef * @param {?} _registry * @param {?} _injector */ constructor(_renderer, _elementRef, _registry, _injector) { this._renderer = _renderer; this._elementRef = _elementRef; this._registry = _registry; this._injector = _injector; /** * \@description * The registered callback function called when a change event occurs on the input element. */ this.onChange = ( /** * @return {?} */() => { }); /** * \@description * The registered callback function called when a blur event occurs on the input element. */ this.onTouched = ( /** * @return {?} */() => { }); } /** * \@description * A lifecycle method called when the directive is initialized. For internal use only. * @return {?} */ ngOnInit() { this._control = this._injector.get(NgControl); this._checkName(); this._registry.add(this._control, this); } /** * \@description * Lifecycle method called before the directive's instance is destroyed. For internal use only. * @return {?} */ ngOnDestroy() { this._registry.remove(this); } /** * \@description * Sets the "checked" property value on the radio input element. * * @param {?} value The checked value * @return {?} */ writeValue(value) { this._state = value === this.value; this._renderer.setProperty(this._elementRef.nativeElement, 'checked', this._state); } /** * \@description * Registers a function called when the control value changes. * * @param {?} fn The callback function * @return {?} */ registerOnChange(fn) { this._fn = fn; this.onChange = ( /** * @return {?} */() => { fn(this.value); this._registry.select(this); }); } /** * Sets the "value" on the radio input element and unchecks it. * * @param {?} value * @return {?} */ fireUncheck(value) { this.writeValue(value); } /** * \@description * Registers a function called when the control is touched. * * @param {?} fn The callback function * @return {?} */ registerOnTouched(fn) { this.onTouched = fn; } /** * Sets the "disabled" property on the input element. * * @param {?} isDisabled The disabled value * @return {?} */ setDisabledState(isDisabled) { this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); } /** * @private * @return {?} */ _checkName() { if (this.name && this.formControlName && this.name !== this.formControlName) { this._throwNameError(); } if (!this.name && this.formControlName) this.name = this.formControlName; } /** * @private * @return {?} */ _throwNameError() { throw new Error(` If you define both a name and a formControlName attribute on your radio button, their values must match. Ex: `); } } RadioControlValueAccessor.ɵfac = function RadioControlValueAccessor_Factory(t) { return new (t || RadioControlValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](RadioControlRegistry), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Injector */ "u"])); }; RadioControlValueAccessor.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: RadioControlValueAccessor, selectors: [["input", "type", "radio", "formControlName", ""], ["input", "type", "radio", "formControl", ""], ["input", "type", "radio", "ngModel", ""]], hostBindings: function RadioControlValueAccessor_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("change", function RadioControlValueAccessor_change_HostBindingHandler() { return ctx.onChange(); })("blur", function RadioControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); }); } }, inputs: { name: "name", formControlName: "formControlName", value: "value" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([RADIO_VALUE_ACCESSOR])] }); return RadioControlValueAccessor; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/range_value_accessor.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const RANGE_VALUE_ACCESSOR = { provide: NG_VALUE_ACCESSOR, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => RangeValueAccessor)), multi: true }; let RangeValueAccessor = /*@__PURE__*/ (() => { class RangeValueAccessor { /** * @param {?} _renderer * @param {?} _elementRef */ constructor(_renderer, _elementRef) { this._renderer = _renderer; this._elementRef = _elementRef; /** * \@description * The registered callback function called when a change or input event occurs on the input * element. */ this.onChange = ( /** * @param {?} _ * @return {?} */(_) => { }); /** * \@description * The registered callback function called when a blur event occurs on the input element. */ this.onTouched = ( /** * @return {?} */() => { }); } /** * Sets the "value" property on the input element. * * @param {?} value The checked value * @return {?} */ writeValue(value) { this._renderer.setProperty(this._elementRef.nativeElement, 'value', parseFloat(value)); } /** * \@description * Registers a function called when the control value changes. * * @param {?} fn The callback function * @return {?} */ registerOnChange(fn) { this.onChange = ( /** * @param {?} value * @return {?} */(value) => { fn(value == '' ? null : parseFloat(value)); }); } /** * \@description * Registers a function called when the control is touched. * * @param {?} fn The callback function * @return {?} */ registerOnTouched(fn) { this.onTouched = fn; } /** * Sets the "disabled" property on the range input element. * * @param {?} isDisabled The disabled value * @return {?} */ setDisabledState(isDisabled) { this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); } } RangeValueAccessor.ɵfac = function RangeValueAccessor_Factory(t) { return new (t || RangeValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"])); }; RangeValueAccessor.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: RangeValueAccessor, selectors: [["input", "type", "range", "formControlName", ""], ["input", "type", "range", "formControl", ""], ["input", "type", "range", "ngModel", ""]], hostBindings: function RangeValueAccessor_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("change", function RangeValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.value); })("input", function RangeValueAccessor_input_HostBindingHandler($event) { return ctx.onChange($event.target.value); })("blur", function RangeValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); }); } }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([RANGE_VALUE_ACCESSOR])] }); return RangeValueAccessor; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/error_examples.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** @type {?} */ const FormErrorExamples = { formControlName: `
In your class: this.myGroup = new FormGroup({ firstName: new FormControl() });`, formGroupName: `
In your class: this.myGroup = new FormGroup({ person: new FormGroup({ firstName: new FormControl() }) });`, formArrayName: `
In your class: this.cityArray = new FormArray([new FormControl('SF')]); this.myGroup = new FormGroup({ cities: this.cityArray });`, ngModelGroup: `
`, ngModelWithFormGroup: `
` }; /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/reactive_errors.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class ReactiveErrors { /** * @return {?} */ static controlParentException() { throw new Error(`formControlName must be used with a parent formGroup directive. You'll want to add a formGroup directive and pass it an existing FormGroup instance (you can create one in your class). Example: ${FormErrorExamples.formControlName}`); } /** * @return {?} */ static ngModelGroupException() { throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents that also have a "form" prefix: formGroupName, formArrayName, or formGroup. Option 1: Update the parent to be formGroupName (reactive form strategy) ${FormErrorExamples.formGroupName} Option 2: Use ngModel instead of formControlName (template-driven strategy) ${FormErrorExamples.ngModelGroup}`); } /** * @return {?} */ static missingFormException() { throw new Error(`formGroup expects a FormGroup instance. Please pass one in. Example: ${FormErrorExamples.formControlName}`); } /** * @return {?} */ static groupParentException() { throw new Error(`formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup directive and pass it an existing FormGroup instance (you can create one in your class). Example: ${FormErrorExamples.formGroupName}`); } /** * @return {?} */ static arrayParentException() { throw new Error(`formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup directive and pass it an existing FormGroup instance (you can create one in your class). Example: ${FormErrorExamples.formArrayName}`); } /** * @return {?} */ static disabledAttrWarning() { console.warn(` It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true when you set up this control in your component class, the disabled attribute will actually be set in the DOM for you. We recommend using this approach to avoid 'changed after checked' errors. Example: form = new FormGroup({ first: new FormControl({value: 'Nancy', disabled: true}, Validators.required), last: new FormControl('Drew', Validators.required) }); `); } /** * @param {?} directiveName * @return {?} */ static ngModelWarning(directiveName) { console.warn(` It looks like you're using ngModel on the same form field as ${directiveName}. Support for using the ngModel input property and ngModelChange event with reactive form directives has been deprecated in Angular v6 and will be removed in Angular v7. For more information on this, see our API docs here: https://angular.io/api/forms/${directiveName === 'formControl' ? 'FormControlDirective' : 'FormControlName'}#use-with-ngmodel `); } } /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/select_control_value_accessor.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const SELECT_VALUE_ACCESSOR = { provide: NG_VALUE_ACCESSOR, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => SelectControlValueAccessor)), multi: true }; /** * @param {?} id * @param {?} value * @return {?} */ function _buildValueString(id, value) { if (id == null) return `${value}`; if (value && typeof value === 'object') value = 'Object'; return `${id}: ${value}`.slice(0, 50); } /** * @param {?} valueString * @return {?} */ function _extractId(valueString) { return valueString.split(':')[0]; } let SelectControlValueAccessor = /*@__PURE__*/ (() => { class SelectControlValueAccessor { /** * @param {?} _renderer * @param {?} _elementRef */ constructor(_renderer, _elementRef) { this._renderer = _renderer; this._elementRef = _elementRef; /** * \@internal */ this._optionMap = new Map(); /** * \@internal */ this._idCounter = 0; /** * \@description * The registered callback function called when a change event occurs on the input element. */ this.onChange = ( /** * @param {?} _ * @return {?} */(_) => { }); /** * \@description * The registered callback function called when a blur event occurs on the input element. */ this.onTouched = ( /** * @return {?} */() => { }); this._compareWith = _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵlooseIdentical */ "yb"]; } /** * \@description * Tracks the option comparison algorithm for tracking identities when * checking for changes. * @param {?} fn * @return {?} */ set compareWith(fn) { if (typeof fn !== 'function') { throw new Error(`compareWith must be a function, but received ${JSON.stringify(fn)}`); } this._compareWith = fn; } /** * Sets the "value" property on the input element. The "selectedIndex" * property is also set if an ID is provided on the option element. * * @param {?} value The checked value * @return {?} */ writeValue(value) { this.value = value; /** @type {?} */ const id = this._getOptionId(value); if (id == null) { this._renderer.setProperty(this._elementRef.nativeElement, 'selectedIndex', -1); } /** @type {?} */ const valueString = _buildValueString(id, value); this._renderer.setProperty(this._elementRef.nativeElement, 'value', valueString); } /** * \@description * Registers a function called when the control value changes. * * @param {?} fn The callback function * @return {?} */ registerOnChange(fn) { this.onChange = ( /** * @param {?} valueString * @return {?} */(valueString) => { this.value = this._getOptionValue(valueString); fn(this.value); }); } /** * \@description * Registers a function called when the control is touched. * * @param {?} fn The callback function * @return {?} */ registerOnTouched(fn) { this.onTouched = fn; } /** * Sets the "disabled" property on the select input element. * * @param {?} isDisabled The disabled value * @return {?} */ setDisabledState(isDisabled) { this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); } /** * \@internal * @return {?} */ _registerOption() { return (this._idCounter++).toString(); } /** * \@internal * @param {?} value * @return {?} */ _getOptionId(value) { for (const id of Array.from(this._optionMap.keys())) { if (this._compareWith(this._optionMap.get(id), value)) return id; } return null; } /** * \@internal * @param {?} valueString * @return {?} */ _getOptionValue(valueString) { /** @type {?} */ const id = _extractId(valueString); return this._optionMap.has(id) ? this._optionMap.get(id) : valueString; } } SelectControlValueAccessor.ɵfac = function SelectControlValueAccessor_Factory(t) { return new (t || SelectControlValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"])); }; SelectControlValueAccessor.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: SelectControlValueAccessor, selectors: [["select", "formControlName", "", 3, "multiple", ""], ["select", "formControl", "", 3, "multiple", ""], ["select", "ngModel", "", 3, "multiple", ""]], hostBindings: function SelectControlValueAccessor_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("change", function SelectControlValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.value); })("blur", function SelectControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); }); } }, inputs: { compareWith: "compareWith" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([SELECT_VALUE_ACCESSOR])] }); return SelectControlValueAccessor; })(); if (false) {} let NgSelectOption = /*@__PURE__*/ (() => { class NgSelectOption { /** * @param {?} _element * @param {?} _renderer * @param {?} _select */ constructor(_element, _renderer, _select) { this._element = _element; this._renderer = _renderer; this._select = _select; if (this._select) this.id = this._select._registerOption(); } /** * \@description * Tracks the value bound to the option element. Unlike the value binding, * ngValue supports binding to objects. * @param {?} value * @return {?} */ set ngValue(value) { if (this._select == null) return; this._select._optionMap.set(this.id, value); this._setElementValue(_buildValueString(this.id, value)); this._select.writeValue(this._select.value); } /** * \@description * Tracks simple string values bound to the option element. * For objects, use the `ngValue` input binding. * @param {?} value * @return {?} */ set value(value) { this._setElementValue(value); if (this._select) this._select.writeValue(this._select.value); } /** * \@internal * @param {?} value * @return {?} */ _setElementValue(value) { this._renderer.setProperty(this._element.nativeElement, 'value', value); } /** * \@description * Lifecycle method called before the directive's instance is destroyed. For internal use only. * @return {?} */ ngOnDestroy() { if (this._select) { this._select._optionMap.delete(this.id); this._select.writeValue(this._select.value); } } } NgSelectOption.ɵfac = function NgSelectOption_Factory(t) { return new (t || NgSelectOption)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](SelectControlValueAccessor, 9)); }; NgSelectOption.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: NgSelectOption, selectors: [["option"]], inputs: { ngValue: "ngValue", value: "value" } }); return NgSelectOption; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/select_multiple_control_value_accessor.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const SELECT_MULTIPLE_VALUE_ACCESSOR = { provide: NG_VALUE_ACCESSOR, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => SelectMultipleControlValueAccessor)), multi: true }; /** * @param {?} id * @param {?} value * @return {?} */ function _buildValueString$1(id, value) { if (id == null) return `${value}`; if (typeof value === 'string') value = `'${value}'`; if (value && typeof value === 'object') value = 'Object'; return `${id}: ${value}`.slice(0, 50); } /** * @param {?} valueString * @return {?} */ function _extractId$1(valueString) { return valueString.split(':')[0]; } /** * Mock interface for HTML Options * @record */ function HTMLOption() { } if (false) {} /** * Mock interface for HTMLCollection * @abstract */ class HTMLCollection { } if (false) {} let SelectMultipleControlValueAccessor = /*@__PURE__*/ (() => { class SelectMultipleControlValueAccessor { /** * @param {?} _renderer * @param {?} _elementRef */ constructor(_renderer, _elementRef) { this._renderer = _renderer; this._elementRef = _elementRef; /** * \@internal */ this._optionMap = new Map(); /** * \@internal */ this._idCounter = 0; /** * \@description * The registered callback function called when a change event occurs on the input element. */ this.onChange = ( /** * @param {?} _ * @return {?} */(_) => { }); /** * \@description * The registered callback function called when a blur event occurs on the input element. */ this.onTouched = ( /** * @return {?} */() => { }); this._compareWith = _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵlooseIdentical */ "yb"]; } /** * \@description * Tracks the option comparison algorithm for tracking identities when * checking for changes. * @param {?} fn * @return {?} */ set compareWith(fn) { if (typeof fn !== 'function') { throw new Error(`compareWith must be a function, but received ${JSON.stringify(fn)}`); } this._compareWith = fn; } /** * \@description * Sets the "value" property on one or of more * of the select's options. * * @param {?} value The value * @return {?} */ writeValue(value) { this.value = value; /** @type {?} */ let optionSelectedStateSetter; if (Array.isArray(value)) { // convert values to ids /** @type {?} */ const ids = value.map(( /** * @param {?} v * @return {?} */(v) => this._getOptionId(v))); optionSelectedStateSetter = ( /** * @param {?} opt * @param {?} o * @return {?} */(opt, o) => { opt._setSelected(ids.indexOf(o.toString()) > -1); }); } else { optionSelectedStateSetter = ( /** * @param {?} opt * @param {?} o * @return {?} */(opt, o) => { opt._setSelected(false); }); } this._optionMap.forEach(optionSelectedStateSetter); } /** * \@description * Registers a function called when the control value changes * and writes an array of the selected options. * * @param {?} fn The callback function * @return {?} */ registerOnChange(fn) { this.onChange = ( /** * @param {?} _ * @return {?} */(_) => { /** @type {?} */ const selected = []; if (_.hasOwnProperty('selectedOptions')) { /** @type {?} */ const options = _.selectedOptions; for (let i = 0; i < options.length; i++) { /** @type {?} */ const opt = options.item(i); /** @type {?} */ const val = this._getOptionValue(opt.value); selected.push(val); } } // Degrade on IE else { /** @type {?} */ const options = ( /** @type {?} */(_.options)); for (let i = 0; i < options.length; i++) { /** @type {?} */ const opt = options.item(i); if (opt.selected) { /** @type {?} */ const val = this._getOptionValue(opt.value); selected.push(val); } } } this.value = selected; fn(selected); }); } /** * \@description * Registers a function called when the control is touched. * * @param {?} fn The callback function * @return {?} */ registerOnTouched(fn) { this.onTouched = fn; } /** * Sets the "disabled" property on the select input element. * * @param {?} isDisabled The disabled value * @return {?} */ setDisabledState(isDisabled) { this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); } /** * \@internal * @param {?} value * @return {?} */ _registerOption(value) { /** @type {?} */ const id = (this._idCounter++).toString(); this._optionMap.set(id, value); return id; } /** * \@internal * @param {?} value * @return {?} */ _getOptionId(value) { for (const id of Array.from(this._optionMap.keys())) { if (this._compareWith(( /** @type {?} */(this._optionMap.get(id)))._value, value)) return id; } return null; } /** * \@internal * @param {?} valueString * @return {?} */ _getOptionValue(valueString) { /** @type {?} */ const id = _extractId$1(valueString); return this._optionMap.has(id) ? ( /** @type {?} */(this._optionMap.get(id)))._value : valueString; } } SelectMultipleControlValueAccessor.ɵfac = function SelectMultipleControlValueAccessor_Factory(t) { return new (t || SelectMultipleControlValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"])); }; SelectMultipleControlValueAccessor.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: SelectMultipleControlValueAccessor, selectors: [["select", "multiple", "", "formControlName", ""], ["select", "multiple", "", "formControl", ""], ["select", "multiple", "", "ngModel", ""]], hostBindings: function SelectMultipleControlValueAccessor_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("change", function SelectMultipleControlValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target); })("blur", function SelectMultipleControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); }); } }, inputs: { compareWith: "compareWith" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([SELECT_MULTIPLE_VALUE_ACCESSOR])] }); return SelectMultipleControlValueAccessor; })(); if (false) {} let ɵNgSelectMultipleOption = /*@__PURE__*/ (() => { class ɵNgSelectMultipleOption { /** * @param {?} _element * @param {?} _renderer * @param {?} _select */ constructor(_element, _renderer, _select) { this._element = _element; this._renderer = _renderer; this._select = _select; if (this._select) { this.id = this._select._registerOption(this); } } /** * \@description * Tracks the value bound to the option element. Unlike the value binding, * ngValue supports binding to objects. * @param {?} value * @return {?} */ set ngValue(value) { if (this._select == null) return; this._value = value; this._setElementValue(_buildValueString$1(this.id, value)); this._select.writeValue(this._select.value); } /** * \@description * Tracks simple string values bound to the option element. * For objects, use the `ngValue` input binding. * @param {?} value * @return {?} */ set value(value) { if (this._select) { this._value = value; this._setElementValue(_buildValueString$1(this.id, value)); this._select.writeValue(this._select.value); } else { this._setElementValue(value); } } /** * \@internal * @param {?} value * @return {?} */ _setElementValue(value) { this._renderer.setProperty(this._element.nativeElement, 'value', value); } /** * \@internal * @param {?} selected * @return {?} */ _setSelected(selected) { this._renderer.setProperty(this._element.nativeElement, 'selected', selected); } /** * \@description * Lifecycle method called before the directive's instance is destroyed. For internal use only. * @return {?} */ ngOnDestroy() { if (this._select) { this._select._optionMap.delete(this.id); this._select.writeValue(this._select.value); } } } ɵNgSelectMultipleOption.ɵfac = function ɵNgSelectMultipleOption_Factory(t) { return new (t || ɵNgSelectMultipleOption)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ElementRef */ "o"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](SelectMultipleControlValueAccessor, 9)); }; ɵNgSelectMultipleOption.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: ɵNgSelectMultipleOption, selectors: [["option"]], inputs: { ngValue: "ngValue", value: "value" } }); return ɵNgSelectMultipleOption; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/shared.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @param {?} name * @param {?} parent * @return {?} */ function controlPath(name, parent) { return [...( /** @type {?} */(parent.path)), ( /** @type {?} */(name))]; } /** * @param {?} control * @param {?} dir * @return {?} */ function setUpControl(control, dir) { if (!control) _throwError(dir, 'Cannot find control with'); if (!dir.valueAccessor) _throwError(dir, 'No value accessor for form control with'); control.validator = Validators.compose([( /** @type {?} */(control.validator)), dir.validator]); control.asyncValidator = Validators.composeAsync([( /** @type {?} */(control.asyncValidator)), dir.asyncValidator]); ( /** @type {?} */(dir.valueAccessor)).writeValue(control.value); setUpViewChangePipeline(control, dir); setUpModelChangePipeline(control, dir); setUpBlurPipeline(control, dir); if (( /** @type {?} */(dir.valueAccessor)).setDisabledState) { control.registerOnDisabledChange(( /** * @param {?} isDisabled * @return {?} */(isDisabled) => { ( /** @type {?} */(( /** @type {?} */(dir.valueAccessor)).setDisabledState))(isDisabled); })); } // re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4 dir._rawValidators.forEach(( /** * @param {?} validator * @return {?} */(validator) => { if ((( /** @type {?} */(validator))).registerOnValidatorChange) ( /** @type {?} */((( /** @type {?} */(validator))).registerOnValidatorChange))(( /** * @return {?} */() => control.updateValueAndValidity())); })); dir._rawAsyncValidators.forEach(( /** * @param {?} validator * @return {?} */(validator) => { if ((( /** @type {?} */(validator))).registerOnValidatorChange) ( /** @type {?} */((( /** @type {?} */(validator))).registerOnValidatorChange))(( /** * @return {?} */() => control.updateValueAndValidity())); })); } /** * @param {?} control * @param {?} dir * @return {?} */ function cleanUpControl(control, dir) { ( /** @type {?} */(dir.valueAccessor)).registerOnChange(( /** * @return {?} */() => _noControlError(dir))); ( /** @type {?} */(dir.valueAccessor)).registerOnTouched(( /** * @return {?} */() => _noControlError(dir))); dir._rawValidators.forEach(( /** * @param {?} validator * @return {?} */(validator) => { if (validator.registerOnValidatorChange) { validator.registerOnValidatorChange(null); } })); dir._rawAsyncValidators.forEach(( /** * @param {?} validator * @return {?} */(validator) => { if (validator.registerOnValidatorChange) { validator.registerOnValidatorChange(null); } })); if (control) control._clearChangeFns(); } /** * @param {?} control * @param {?} dir * @return {?} */ function setUpViewChangePipeline(control, dir) { ( /** @type {?} */(dir.valueAccessor)).registerOnChange(( /** * @param {?} newValue * @return {?} */(newValue) => { control._pendingValue = newValue; control._pendingChange = true; control._pendingDirty = true; if (control.updateOn === 'change') updateControl(control, dir); })); } /** * @param {?} control * @param {?} dir * @return {?} */ function setUpBlurPipeline(control, dir) { ( /** @type {?} */(dir.valueAccessor)).registerOnTouched(( /** * @return {?} */() => { control._pendingTouched = true; if (control.updateOn === 'blur' && control._pendingChange) updateControl(control, dir); if (control.updateOn !== 'submit') control.markAsTouched(); })); } /** * @param {?} control * @param {?} dir * @return {?} */ function updateControl(control, dir) { if (control._pendingDirty) control.markAsDirty(); control.setValue(control._pendingValue, { emitModelToViewChange: false }); dir.viewToModelUpdate(control._pendingValue); control._pendingChange = false; } /** * @param {?} control * @param {?} dir * @return {?} */ function setUpModelChangePipeline(control, dir) { control.registerOnChange(( /** * @param {?} newValue * @param {?} emitModelEvent * @return {?} */(newValue, emitModelEvent) => { // control -> view ( /** @type {?} */(dir.valueAccessor)).writeValue(newValue); // control -> ngModel if (emitModelEvent) dir.viewToModelUpdate(newValue); })); } /** * @param {?} control * @param {?} dir * @return {?} */ function setUpFormContainer(control, dir) { if (control == null) _throwError(dir, 'Cannot find control with'); control.validator = Validators.compose([control.validator, dir.validator]); control.asyncValidator = Validators.composeAsync([control.asyncValidator, dir.asyncValidator]); } /** * @param {?} dir * @return {?} */ function _noControlError(dir) { return _throwError(dir, 'There is no FormControl instance attached to form control element with'); } /** * @param {?} dir * @param {?} message * @return {?} */ function _throwError(dir, message) { /** @type {?} */ let messageEnd; if (( /** @type {?} */(dir.path)).length > 1) { messageEnd = `path: '${( /** @type {?} */(dir.path)).join(' -> ')}'`; } else if (( /** @type {?} */(dir.path))[0]) { messageEnd = `name: '${dir.path}'`; } else { messageEnd = 'unspecified name attribute'; } throw new Error(`${message} ${messageEnd}`); } /** * @param {?} validators * @return {?} */ function composeValidators(validators) { return validators != null ? Validators.compose(validators.map(normalizeValidator)) : null; } /** * @param {?} validators * @return {?} */ function composeAsyncValidators(validators) { return validators != null ? Validators.composeAsync(validators.map(normalizeAsyncValidator)) : null; } /** * @param {?} changes * @param {?} viewModel * @return {?} */ function isPropertyUpdated(changes, viewModel) { if (!changes.hasOwnProperty('model')) return false; /** @type {?} */ const change = changes['model']; if (change.isFirstChange()) return true; return !Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵlooseIdentical */ "yb"])(viewModel, change.currentValue); } /** @type {?} */ const BUILTIN_ACCESSORS = [ CheckboxControlValueAccessor, RangeValueAccessor, NumberValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, ]; /** * @param {?} valueAccessor * @return {?} */ function isBuiltInAccessor(valueAccessor) { return BUILTIN_ACCESSORS.some(( /** * @param {?} a * @return {?} *//** * @param {?} a * @return {?} */ a => valueAccessor.constructor === a)); } /** * @param {?} form * @param {?} directives * @return {?} */ function syncPendingControls(form, directives) { form._syncPendingControls(); directives.forEach(( /** * @param {?} dir * @return {?} *//** * @param {?} dir * @return {?} */ dir => { /** @type {?} */ const control = ( /** @type {?} */(dir.control)); if (control.updateOn === 'submit' && control._pendingChange) { dir.viewToModelUpdate(control._pendingValue); control._pendingChange = false; } })); } // TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented /** * @param {?} dir * @param {?} valueAccessors * @return {?} */ function selectValueAccessor(dir, valueAccessors) { if (!valueAccessors) return null; if (!Array.isArray(valueAccessors)) _throwError(dir, 'Value accessor was not provided as an array for form control with'); /** @type {?} */ let defaultAccessor = undefined; /** @type {?} */ let builtinAccessor = undefined; /** @type {?} */ let customAccessor = undefined; valueAccessors.forEach(( /** * @param {?} v * @return {?} */(v) => { if (v.constructor === DefaultValueAccessor) { defaultAccessor = v; } else if (isBuiltInAccessor(v)) { if (builtinAccessor) _throwError(dir, 'More than one built-in value accessor matches form control with'); builtinAccessor = v; } else { if (customAccessor) _throwError(dir, 'More than one custom value accessor matches form control with'); customAccessor = v; } })); if (customAccessor) return customAccessor; if (builtinAccessor) return builtinAccessor; if (defaultAccessor) return defaultAccessor; _throwError(dir, 'No valid value accessor for form control with'); return null; } /** * @template T * @param {?} list * @param {?} el * @return {?} */ function removeDir(list, el) { /** @type {?} */ const index = list.indexOf(el); if (index > -1) list.splice(index, 1); } // TODO(kara): remove after deprecation period /** * @param {?} name * @param {?} type * @param {?} instance * @param {?} warningConfig * @return {?} */ function _ngModelWarning(name, type, instance, warningConfig) { if (!Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* isDevMode */ "ab"])() || warningConfig === 'never') return; if (((warningConfig === null || warningConfig === 'once') && !type._ngModelWarningSentOnce) || (warningConfig === 'always' && !instance._ngModelWarningSent)) { ReactiveErrors.ngModelWarning(name); type._ngModelWarningSentOnce = true; instance._ngModelWarningSent = true; } } /** * @fileoverview added by tsickle * Generated from: packages/forms/src/model.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Reports that a FormControl is valid, meaning that no errors exist in the input value. * * @see `status` * @type {?} */ const VALID = 'VALID'; /** * Reports that a FormControl is invalid, meaning that an error exists in the input value. * * @see `status` * @type {?} */ const INVALID = 'INVALID'; /** * Reports that a FormControl is pending, meaning that that async validation is occurring and * errors are not yet available for the input value. * * @see `markAsPending` * @see `status` * @type {?} */ const PENDING = 'PENDING'; /** * Reports that a FormControl is disabled, meaning that the control is exempt from ancestor * calculations of validity or value. * * @see `markAsDisabled` * @see `status` * @type {?} */ const DISABLED = 'DISABLED'; /** * @param {?} control * @param {?} path * @param {?} delimiter * @return {?} */ function _find(control, path, delimiter) { if (path == null) return null; if (!Array.isArray(path)) { path = path.split(delimiter); } if (Array.isArray(path) && path.length === 0) return null; // Not using Array.reduce here due to a Chrome 80 bug // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 /** @type {?} */ let controlToFind = control; path.forEach(( /** * @param {?} name * @return {?} */(name) => { if (controlToFind instanceof FormGroup) { controlToFind = controlToFind.controls.hasOwnProperty(( /** @type {?} */(name))) ? controlToFind.controls[name] : null; } else if (controlToFind instanceof FormArray) { controlToFind = controlToFind.at(( /** @type {?} */(name))) || null; } else { controlToFind = null; } })); return controlToFind; } /** * @param {?=} validatorOrOpts * @return {?} */ function coerceToValidator(validatorOrOpts) { /** @type {?} */ const validator = ( /** @type {?} */((isOptionsObj(validatorOrOpts) ? (( /** @type {?} */(validatorOrOpts))).validators : validatorOrOpts))); return Array.isArray(validator) ? composeValidators(validator) : validator || null; } /** * @param {?=} asyncValidator * @param {?=} validatorOrOpts * @return {?} */ function coerceToAsyncValidator(asyncValidator, validatorOrOpts) { /** @type {?} */ const origAsyncValidator = ( /** @type {?} */((isOptionsObj(validatorOrOpts) ? (( /** @type {?} */(validatorOrOpts))).asyncValidators : asyncValidator))); return Array.isArray(origAsyncValidator) ? composeAsyncValidators(origAsyncValidator) : origAsyncValidator || null; } /** * Interface for options provided to an `AbstractControl`. * * \@publicApi * @record */ function AbstractControlOptions() { } if (false) {} /** * @param {?=} validatorOrOpts * @return {?} */ function isOptionsObj(validatorOrOpts) { return validatorOrOpts != null && !Array.isArray(validatorOrOpts) && typeof validatorOrOpts === 'object'; } /** * This is the base class for `FormControl`, `FormGroup`, and `FormArray`. * * It provides some of the shared behavior that all controls and groups of controls have, like * running validators, calculating status, and resetting state. It also defines the properties * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be * instantiated directly. * * @see [Forms Guide](/guide/forms) * @see [Reactive Forms Guide](/guide/reactive-forms) * @see [Dynamic Forms Guide](/guide/dynamic-form) * * \@publicApi * @abstract */ class AbstractControl { /** * Initialize the AbstractControl instance. * * @param {?} validator The function that determines the synchronous validity of this control. * @param {?} asyncValidator The function that determines the asynchronous validity of this * control. */ constructor(validator, asyncValidator) { this.validator = validator; this.asyncValidator = asyncValidator; /** * \@internal */ this._onCollectionChange = ( /** * @return {?} */() => { }); /** * A control is `pristine` if the user has not yet changed * the value in the UI. * * @return True if the user has not yet changed the value in the UI; compare `dirty`. * Programmatic changes to a control's value do not mark it dirty. */ this.pristine = true; /** * True if the control is marked as `touched`. * * A control is marked `touched` once the user has triggered * a `blur` event on it. */ this.touched = false; /** * \@internal */ this._onDisabledChange = []; } /** * The parent control. * @return {?} */ get parent() { return this._parent; } /** * A control is `valid` when its `status` is `VALID`. * * @see {\@link AbstractControl.status} * * @return {?} True if the control has passed all of its validation tests, * false otherwise. */ get valid() { return this.status === VALID; } /** * A control is `invalid` when its `status` is `INVALID`. * * @see {\@link AbstractControl.status} * * @return {?} True if this control has failed one or more of its validation checks, * false otherwise. */ get invalid() { return this.status === INVALID; } /** * A control is `pending` when its `status` is `PENDING`. * * @see {\@link AbstractControl.status} * * @return {?} True if this control is in the process of conducting a validation check, * false otherwise. */ get pending() { return this.status == PENDING; } /** * A control is `disabled` when its `status` is `DISABLED`. * * Disabled controls are exempt from validation checks and * are not included in the aggregate value of their ancestor * controls. * * @see {\@link AbstractControl.status} * * @return {?} True if the control is disabled, false otherwise. */ get disabled() { return this.status === DISABLED; } /** * A control is `enabled` as long as its `status` is not `DISABLED`. * * @see {\@link AbstractControl.status} * * @return {?} True if the control has any status other than 'DISABLED', * false if the status is 'DISABLED'. * */ get enabled() { return this.status !== DISABLED; } /** * A control is `dirty` if the user has changed the value * in the UI. * * @return {?} True if the user has changed the value of this control in the UI; compare `pristine`. * Programmatic changes to a control's value do not mark it dirty. */ get dirty() { return !this.pristine; } /** * True if the control has not been marked as touched * * A control is `untouched` if the user has not yet triggered * a `blur` event on it. * @return {?} */ get untouched() { return !this.touched; } /** * Reports the update strategy of the `AbstractControl` (meaning * the event on which the control updates itself). * Possible values: `'change'` | `'blur'` | `'submit'` * Default value: `'change'` * @return {?} */ get updateOn() { return this._updateOn ? this._updateOn : (this.parent ? this.parent.updateOn : 'change'); } /** * Sets the synchronous validators that are active on this control. Calling * this overwrites any existing sync validators. * * When you add or remove a validator at run time, you must call * `updateValueAndValidity()` for the new validation to take effect. * * @param {?} newValidator * @return {?} */ setValidators(newValidator) { this.validator = coerceToValidator(newValidator); } /** * Sets the async validators that are active on this control. Calling this * overwrites any existing async validators. * * When you add or remove a validator at run time, you must call * `updateValueAndValidity()` for the new validation to take effect. * * @param {?} newValidator * @return {?} */ setAsyncValidators(newValidator) { this.asyncValidator = coerceToAsyncValidator(newValidator); } /** * Empties out the sync validator list. * * When you add or remove a validator at run time, you must call * `updateValueAndValidity()` for the new validation to take effect. * * @return {?} */ clearValidators() { this.validator = null; } /** * Empties out the async validator list. * * When you add or remove a validator at run time, you must call * `updateValueAndValidity()` for the new validation to take effect. * * @return {?} */ clearAsyncValidators() { this.asyncValidator = null; } /** * Marks the control as `touched`. A control is touched by focus and * blur events that do not change the value. * * @see `markAsUntouched()` / `markAsDirty()` / `markAsPristine()` * * @param {?=} opts Configuration options that determine how the control propagates changes * and emits events after marking is applied. * * `onlySelf`: When true, mark only this control. When false or not supplied, * marks all direct ancestors. Default is false. * @return {?} */ markAsTouched(opts = {}) { (( /** @type {?} */(this))).touched = true; if (this._parent && !opts.onlySelf) { this._parent.markAsTouched(opts); } } /** * Marks the control and all its descendant controls as `touched`. * @see `markAsTouched()` * @return {?} */ markAllAsTouched() { this.markAsTouched({ onlySelf: true }); this._forEachChild(( /** * @param {?} control * @return {?} */(control) => control.markAllAsTouched())); } /** * Marks the control as `untouched`. * * If the control has any children, also marks all children as `untouched` * and recalculates the `touched` status of all parent controls. * * @see `markAsTouched()` / `markAsDirty()` / `markAsPristine()` * * @param {?=} opts Configuration options that determine how the control propagates changes * and emits events after the marking is applied. * * `onlySelf`: When true, mark only this control. When false or not supplied, * marks all direct ancestors. Default is false. * @return {?} */ markAsUntouched(opts = {}) { (( /** @type {?} */(this))).touched = false; this._pendingTouched = false; this._forEachChild(( /** * @param {?} control * @return {?} */(control) => { control.markAsUntouched({ onlySelf: true }); })); if (this._parent && !opts.onlySelf) { this._parent._updateTouched(opts); } } /** * Marks the control as `dirty`. A control becomes dirty when * the control's value is changed through the UI; compare `markAsTouched`. * * @see `markAsTouched()` / `markAsUntouched()` / `markAsPristine()` * * @param {?=} opts Configuration options that determine how the control propagates changes * and emits events after marking is applied. * * `onlySelf`: When true, mark only this control. When false or not supplied, * marks all direct ancestors. Default is false. * @return {?} */ markAsDirty(opts = {}) { (( /** @type {?} */(this))).pristine = false; if (this._parent && !opts.onlySelf) { this._parent.markAsDirty(opts); } } /** * Marks the control as `pristine`. * * If the control has any children, marks all children as `pristine`, * and recalculates the `pristine` status of all parent * controls. * * @see `markAsTouched()` / `markAsUntouched()` / `markAsDirty()` * * @param {?=} opts Configuration options that determine how the control emits events after * marking is applied. * * `onlySelf`: When true, mark only this control. When false or not supplied, * marks all direct ancestors. Default is false.. * @return {?} */ markAsPristine(opts = {}) { (( /** @type {?} */(this))).pristine = true; this._pendingDirty = false; this._forEachChild(( /** * @param {?} control * @return {?} */(control) => { control.markAsPristine({ onlySelf: true }); })); if (this._parent && !opts.onlySelf) { this._parent._updatePristine(opts); } } /** * Marks the control as `pending`. * * A control is pending while the control performs async validation. * * @see {\@link AbstractControl.status} * * @param {?=} opts Configuration options that determine how the control propagates changes and * emits events after marking is applied. * * `onlySelf`: When true, mark only this control. When false or not supplied, * marks all direct ancestors. Default is false.. * * `emitEvent`: When true or not supplied (the default), the `statusChanges` * observable emits an event with the latest status the control is marked pending. * When false, no events are emitted. * * @return {?} */ markAsPending(opts = {}) { (( /** @type {?} */(this))).status = PENDING; if (opts.emitEvent !== false) { (( /** @type {?} */(this.statusChanges))).emit(this.status); } if (this._parent && !opts.onlySelf) { this._parent.markAsPending(opts); } } /** * Disables the control. This means the control is exempt from validation checks and * excluded from the aggregate value of any parent. Its status is `DISABLED`. * * If the control has children, all children are also disabled. * * @see {\@link AbstractControl.status} * * @param {?=} opts Configuration options that determine how the control propagates * changes and emits events after the control is disabled. * * `onlySelf`: When true, mark only this control. When false or not supplied, * marks all direct ancestors. Default is false.. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control is disabled. * When false, no events are emitted. * @return {?} */ disable(opts = {}) { // If parent has been marked artificially dirty we don't want to re-calculate the // parent's dirtiness based on the children. /** @type {?} */ const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf); (( /** @type {?} */(this))).status = DISABLED; (( /** @type {?} */(this))).errors = null; this._forEachChild(( /** * @param {?} control * @return {?} */(control) => { control.disable(Object.assign(Object.assign({}, opts), { onlySelf: true })); })); this._updateValue(); if (opts.emitEvent !== false) { (( /** @type {?} */(this.valueChanges))).emit(this.value); (( /** @type {?} */(this.statusChanges))).emit(this.status); } this._updateAncestors(Object.assign(Object.assign({}, opts), { skipPristineCheck })); this._onDisabledChange.forEach(( /** * @param {?} changeFn * @return {?} */(changeFn) => changeFn(true))); } /** * Enables the control. This means the control is included in validation checks and * the aggregate value of its parent. Its status recalculates based on its value and * its validators. * * By default, if the control has children, all children are enabled. * * @see {\@link AbstractControl.status} * * @param {?=} opts Configure options that control how the control propagates changes and * emits events when marked as untouched * * `onlySelf`: When true, mark only this control. When false or not supplied, * marks all direct ancestors. Default is false.. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control is enabled. * When false, no events are emitted. * @return {?} */ enable(opts = {}) { // If parent has been marked artificially dirty we don't want to re-calculate the // parent's dirtiness based on the children. /** @type {?} */ const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf); (( /** @type {?} */(this))).status = VALID; this._forEachChild(( /** * @param {?} control * @return {?} */(control) => { control.enable(Object.assign(Object.assign({}, opts), { onlySelf: true })); })); this.updateValueAndValidity({ onlySelf: true, emitEvent: opts.emitEvent }); this._updateAncestors(Object.assign(Object.assign({}, opts), { skipPristineCheck })); this._onDisabledChange.forEach(( /** * @param {?} changeFn * @return {?} */(changeFn) => changeFn(false))); } /** * @private * @param {?} opts * @return {?} */ _updateAncestors(opts) { if (this._parent && !opts.onlySelf) { this._parent.updateValueAndValidity(opts); if (!opts.skipPristineCheck) { this._parent._updatePristine(); } this._parent._updateTouched(); } } /** * @param {?} parent Sets the parent of the control * @return {?} */ setParent(parent) { this._parent = parent; } /** * Recalculates the value and validation status of the control. * * By default, it also updates the value and validity of its ancestors. * * @param {?=} opts Configuration options determine how the control propagates changes and emits events * after updates and validity checks are applied. * * `onlySelf`: When true, only update this control. When false or not supplied, * update all direct ancestors. Default is false.. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control is updated. * When false, no events are emitted. * @return {?} */ updateValueAndValidity(opts = {}) { this._setInitialStatus(); this._updateValue(); if (this.enabled) { this._cancelExistingSubscription(); (( /** @type {?} */(this))).errors = this._runValidator(); (( /** @type {?} */(this))).status = this._calculateStatus(); if (this.status === VALID || this.status === PENDING) { this._runAsyncValidator(opts.emitEvent); } } if (opts.emitEvent !== false) { (( /** @type {?} */(this.valueChanges))).emit(this.value); (( /** @type {?} */(this.statusChanges))).emit(this.status); } if (this._parent && !opts.onlySelf) { this._parent.updateValueAndValidity(opts); } } /** * \@internal * @param {?=} opts * @return {?} */ _updateTreeValidity(opts = { emitEvent: true }) { this._forEachChild(( /** * @param {?} ctrl * @return {?} */(ctrl) => ctrl._updateTreeValidity(opts))); this.updateValueAndValidity({ onlySelf: true, emitEvent: opts.emitEvent }); } /** * @private * @return {?} */ _setInitialStatus() { (( /** @type {?} */(this))).status = this._allControlsDisabled() ? DISABLED : VALID; } /** * @private * @return {?} */ _runValidator() { return this.validator ? this.validator(this) : null; } /** * @private * @param {?=} emitEvent * @return {?} */ _runAsyncValidator(emitEvent) { if (this.asyncValidator) { (( /** @type {?} */(this))).status = PENDING; /** @type {?} */ const obs = toObservable(this.asyncValidator(this)); this._asyncValidationSubscription = obs.subscribe(( /** * @param {?} errors * @return {?} */(errors) => this.setErrors(errors, { emitEvent }))); } } /** * @private * @return {?} */ _cancelExistingSubscription() { if (this._asyncValidationSubscription) { this._asyncValidationSubscription.unsubscribe(); } } /** * Sets errors on a form control when running validations manually, rather than automatically. * * Calling `setErrors` also updates the validity of the parent control. * * \@usageNotes * ### Manually set the errors for a control * * ``` * const login = new FormControl('someLogin'); * login.setErrors({ * notUnique: true * }); * * expect(login.valid).toEqual(false); * expect(login.errors).toEqual({ notUnique: true }); * * login.setValue('someOtherLogin'); * * expect(login.valid).toEqual(true); * ``` * @param {?} errors * @param {?=} opts * @return {?} */ setErrors(errors, opts = {}) { (( /** @type {?} */(this))).errors = errors; this._updateControlsErrors(opts.emitEvent !== false); } /** * Retrieves a child control given the control's name or path. * * \@usageNotes * ### Retrieve a nested control * * For example, to get a `name` control nested within a `person` sub-group: * * * `this.form.get('person.name');` * * -OR- * * * `this.form.get(['person', 'name']);` * @param {?} path A dot-delimited string or array of string/number values that define the path to the * control. * * @return {?} */ get(path) { return _find(this, path, '.'); } /** * \@description * Reports error data for the control with the given path. * * \@usageNotes * For example, for the following `FormGroup`: * * ``` * form = new FormGroup({ * address: new FormGroup({ street: new FormControl() }) * }); * ``` * * The path to the 'street' control from the root form would be 'address' -> 'street'. * * It can be provided to this method in one of two formats: * * 1. An array of string control names, e.g. `['address', 'street']` * 1. A period-delimited list of control names in one string, e.g. `'address.street'` * * @param {?} errorCode The code of the error to check * @param {?=} path A list of control names that designates how to move from the current control * to the control that should be queried for errors. * * @return {?} error data for that particular error. If the control or error is not present, * null is returned. */ getError(errorCode, path) { /** @type {?} */ const control = path ? this.get(path) : this; return control && control.errors ? control.errors[errorCode] : null; } /** * \@description * Reports whether the control with the given path has the error specified. * * \@usageNotes * For example, for the following `FormGroup`: * * ``` * form = new FormGroup({ * address: new FormGroup({ street: new FormControl() }) * }); * ``` * * The path to the 'street' control from the root form would be 'address' -> 'street'. * * It can be provided to this method in one of two formats: * * 1. An array of string control names, e.g. `['address', 'street']` * 1. A period-delimited list of control names in one string, e.g. `'address.street'` * * If no path is given, this method checks for the error on the current control. * * @param {?} errorCode The code of the error to check * @param {?=} path A list of control names that designates how to move from the current control * to the control that should be queried for errors. * * @return {?} whether the given error is present in the control at the given path. * * If the control is not present, false is returned. */ hasError(errorCode, path) { return !!this.getError(errorCode, path); } /** * Retrieves the top-level ancestor of this control. * @return {?} */ get root() { /** @type {?} */ let x = this; while (x._parent) { x = x._parent; } return x; } /** * \@internal * @param {?} emitEvent * @return {?} */ _updateControlsErrors(emitEvent) { (( /** @type {?} */(this))).status = this._calculateStatus(); if (emitEvent) { (( /** @type {?} */(this.statusChanges))).emit(this.status); } if (this._parent) { this._parent._updateControlsErrors(emitEvent); } } /** * \@internal * @return {?} */ _initObservables() { (( /** @type {?} */(this))).valueChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* EventEmitter */ "q"](); (( /** @type {?} */(this))).statusChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* EventEmitter */ "q"](); } /** * @private * @return {?} */ _calculateStatus() { if (this._allControlsDisabled()) return DISABLED; if (this.errors) return INVALID; if (this._anyControlsHaveStatus(PENDING)) return PENDING; if (this._anyControlsHaveStatus(INVALID)) return INVALID; return VALID; } /** * \@internal * @param {?} status * @return {?} */ _anyControlsHaveStatus(status) { return this._anyControls(( /** * @param {?} control * @return {?} */(control) => control.status === status)); } /** * \@internal * @return {?} */ _anyControlsDirty() { return this._anyControls(( /** * @param {?} control * @return {?} */(control) => control.dirty)); } /** * \@internal * @return {?} */ _anyControlsTouched() { return this._anyControls(( /** * @param {?} control * @return {?} */(control) => control.touched)); } /** * \@internal * @param {?=} opts * @return {?} */ _updatePristine(opts = {}) { (( /** @type {?} */(this))).pristine = !this._anyControlsDirty(); if (this._parent && !opts.onlySelf) { this._parent._updatePristine(opts); } } /** * \@internal * @param {?=} opts * @return {?} */ _updateTouched(opts = {}) { (( /** @type {?} */(this))).touched = this._anyControlsTouched(); if (this._parent && !opts.onlySelf) { this._parent._updateTouched(opts); } } /** * \@internal * @param {?} formState * @return {?} */ _isBoxedValue(formState) { return typeof formState === 'object' && formState !== null && Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState; } /** * \@internal * @param {?} fn * @return {?} */ _registerOnCollectionChange(fn) { this._onCollectionChange = fn; } /** * \@internal * @param {?=} opts * @return {?} */ _setUpdateStrategy(opts) { if (isOptionsObj(opts) && (( /** @type {?} */(opts))).updateOn != null) { this._updateOn = ( /** @type {?} */((( /** @type {?} */(opts))).updateOn)); } } /** * Check to see if parent has been marked artificially dirty. * * \@internal * @private * @param {?=} onlySelf * @return {?} */ _parentMarkedDirty(onlySelf) { /** @type {?} */ const parentDirty = this._parent && this._parent.dirty; return !onlySelf && parentDirty && !this._parent._anyControlsDirty(); } } if (false) {} /** * Tracks the value and validation status of an individual form control. * * This is one of the three fundamental building blocks of Angular forms, along with * `FormGroup` and `FormArray`. It extends the `AbstractControl` class that * implements most of the base functionality for accessing the value, validation status, * user interactions and events. * * @see `AbstractControl` * @see [Reactive Forms Guide](guide/reactive-forms) * @see [Usage Notes](#usage-notes) * * \@usageNotes * * ### Initializing Form Controls * * Instantiate a `FormControl`, with an initial value. * * ```ts * const control = new FormControl('some value'); * console.log(control.value); // 'some value' * ``` * * The following example initializes the control with a form state object. The `value` * and `disabled` keys are required in this case. * * ```ts * const control = new FormControl({ value: 'n/a', disabled: true }); * console.log(control.value); // 'n/a' * console.log(control.status); // 'DISABLED' * ``` * * The following example initializes the control with a sync validator. * * ```ts * const control = new FormControl('', Validators.required); * console.log(control.value); // '' * console.log(control.status); // 'INVALID' * ``` * * The following example initializes the control using an options object. * * ```ts * const control = new FormControl('', { * validators: Validators.required, * asyncValidators: myAsyncValidator * }); * ``` * * ### Configure the control to update on a blur event * * Set the `updateOn` option to `'blur'` to update on the blur `event`. * * ```ts * const control = new FormControl('', { updateOn: 'blur' }); * ``` * * ### Configure the control to update on a submit event * * Set the `updateOn` option to `'submit'` to update on a submit `event`. * * ```ts * const control = new FormControl('', { updateOn: 'submit' }); * ``` * * ### Reset the control back to an initial value * * You reset to a specific form state by passing through a standalone * value or a form state object that contains both a value and a disabled state * (these are the only two properties that cannot be calculated). * * ```ts * const control = new FormControl('Nancy'); * * console.log(control.value); // 'Nancy' * * control.reset('Drew'); * * console.log(control.value); // 'Drew' * ``` * * ### Reset the control back to an initial value and disabled * * ``` * const control = new FormControl('Nancy'); * * console.log(control.value); // 'Nancy' * console.log(control.status); // 'VALID' * * control.reset({ value: 'Drew', disabled: true }); * * console.log(control.value); // 'Drew' * console.log(control.status); // 'DISABLED' * ``` * * \@publicApi */ class FormControl extends AbstractControl { /** * Creates a new `FormControl` instance. * * @param {?=} formState Initializes the control with an initial value, * or an object that defines the initial value and disabled state. * * @param {?=} validatorOrOpts A synchronous validator function, or an array of * such functions, or an `AbstractControlOptions` object that contains validation functions * and a validation trigger. * * @param {?=} asyncValidator A single async validator or array of async validator functions * */ constructor(formState = null, validatorOrOpts, asyncValidator) { super(coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts)); /** * \@internal */ this._onChange = []; this._applyFormState(formState); this._setUpdateStrategy(validatorOrOpts); this.updateValueAndValidity({ onlySelf: true, emitEvent: false }); this._initObservables(); } /** * Sets a new value for the form control. * * @param {?} value The new value for the control. * @param {?=} options Configuration options that determine how the control propagates changes * and emits events when the value changes. * The configuration options are passed to the {\@link AbstractControl#updateValueAndValidity * updateValueAndValidity} method. * * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is * false. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control value is updated. * When false, no events are emitted. * * `emitModelToViewChange`: When true or not supplied (the default), each change triggers an * `onChange` event to * update the view. * * `emitViewToModelChange`: When true or not supplied (the default), each change triggers an * `ngModelChange` * event to update the model. * * @return {?} */ setValue(value, options = {}) { (( /** @type {?} */(this))).value = this._pendingValue = value; if (this._onChange.length && options.emitModelToViewChange !== false) { this._onChange.forEach(( /** * @param {?} changeFn * @return {?} */(changeFn) => changeFn(this.value, options.emitViewToModelChange !== false))); } this.updateValueAndValidity(options); } /** * Patches the value of a control. * * This function is functionally the same as {\@link FormControl#setValue setValue} at this level. * It exists for symmetry with {\@link FormGroup#patchValue patchValue} on `FormGroups` and * `FormArrays`, where it does behave differently. * * @see `setValue` for options * @param {?} value * @param {?=} options * @return {?} */ patchValue(value, options = {}) { this.setValue(value, options); } /** * Resets the form control, marking it `pristine` and `untouched`, and setting * the value to null. * * @param {?=} formState Resets the control with an initial value, * or an object that defines the initial value and disabled state. * * @param {?=} options Configuration options that determine how the control propagates changes * and emits events after the value changes. * * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is * false. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control is reset. * When false, no events are emitted. * * @return {?} */ reset(formState = null, options = {}) { this._applyFormState(formState); this.markAsPristine(options); this.markAsUntouched(options); this.setValue(this.value, options); this._pendingChange = false; } /** * \@internal * @return {?} */ _updateValue() { } /** * \@internal * @param {?} condition * @return {?} */ _anyControls(condition) { return false; } /** * \@internal * @return {?} */ _allControlsDisabled() { return this.disabled; } /** * Register a listener for change events. * * @param {?} fn The method that is called when the value changes * @return {?} */ registerOnChange(fn) { this._onChange.push(fn); } /** * \@internal * @return {?} */ _clearChangeFns() { this._onChange = []; this._onDisabledChange = []; this._onCollectionChange = ( /** * @return {?} */() => { }); } /** * Register a listener for disabled events. * * @param {?} fn The method that is called when the disabled status changes. * @return {?} */ registerOnDisabledChange(fn) { this._onDisabledChange.push(fn); } /** * \@internal * @param {?} cb * @return {?} */ _forEachChild(cb) { } /** * \@internal * @return {?} */ _syncPendingControls() { if (this.updateOn === 'submit') { if (this._pendingDirty) this.markAsDirty(); if (this._pendingTouched) this.markAsTouched(); if (this._pendingChange) { this.setValue(this._pendingValue, { onlySelf: true, emitModelToViewChange: false }); return true; } } return false; } /** * @private * @param {?} formState * @return {?} */ _applyFormState(formState) { if (this._isBoxedValue(formState)) { (( /** @type {?} */(this))).value = this._pendingValue = formState.value; formState.disabled ? this.disable({ onlySelf: true, emitEvent: false }) : this.enable({ onlySelf: true, emitEvent: false }); } else { (( /** @type {?} */(this))).value = this._pendingValue = formState; } } } if (false) {} /** * Tracks the value and validity state of a group of `FormControl` instances. * * A `FormGroup` aggregates the values of each child `FormControl` into one object, * with each control name as the key. It calculates its status by reducing the status values * of its children. For example, if one of the controls in a group is invalid, the entire * group becomes invalid. * * `FormGroup` is one of the three fundamental building blocks used to define forms in Angular, * along with `FormControl` and `FormArray`. * * When instantiating a `FormGroup`, pass in a collection of child controls as the first * argument. The key for each child registers the name for the control. * * \@usageNotes * * ### Create a form group with 2 controls * * ``` * const form = new FormGroup({ * first: new FormControl('Nancy', Validators.minLength(2)), * last: new FormControl('Drew'), * }); * * console.log(form.value); // {first: 'Nancy', last; 'Drew'} * console.log(form.status); // 'VALID' * ``` * * ### Create a form group with a group-level validator * * You include group-level validators as the second arg, or group-level async * validators as the third arg. These come in handy when you want to perform validation * that considers the value of more than one child control. * * ``` * const form = new FormGroup({ * password: new FormControl('', Validators.minLength(2)), * passwordConfirm: new FormControl('', Validators.minLength(2)), * }, passwordMatchValidator); * * * function passwordMatchValidator(g: FormGroup) { * return g.get('password').value === g.get('passwordConfirm').value * ? null : {'mismatch': true}; * } * ``` * * Like `FormControl` instances, you choose to pass in * validators and async validators as part of an options object. * * ``` * const form = new FormGroup({ * password: new FormControl('') * passwordConfirm: new FormControl('') * }, { validators: passwordMatchValidator, asyncValidators: otherValidator }); * ``` * * ### Set the updateOn property for all controls in a form group * * The options object is used to set a default value for each child * control's `updateOn` property. If you set `updateOn` to `'blur'` at the * group level, all child controls default to 'blur', unless the child * has explicitly specified a different `updateOn` value. * * ```ts * const c = new FormGroup({ * one: new FormControl() * }, { updateOn: 'blur' }); * ``` * * \@publicApi */ class FormGroup extends AbstractControl { /** * Creates a new `FormGroup` instance. * * @param {?} controls A collection of child controls. The key for each child is the name * under which it is registered. * * @param {?=} validatorOrOpts A synchronous validator function, or an array of * such functions, or an `AbstractControlOptions` object that contains validation functions * and a validation trigger. * * @param {?=} asyncValidator A single async validator or array of async validator functions * */ constructor(controls, validatorOrOpts, asyncValidator) { super(coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts)); this.controls = controls; this._initObservables(); this._setUpdateStrategy(validatorOrOpts); this._setUpControls(); this.updateValueAndValidity({ onlySelf: true, emitEvent: false }); } /** * Registers a control with the group's list of controls. * * This method does not update the value or validity of the control. * Use {\@link FormGroup#addControl addControl} instead. * * @param {?} name The control name to register in the collection * @param {?} control Provides the control for the given name * @return {?} */ registerControl(name, control) { if (this.controls[name]) return this.controls[name]; this.controls[name] = control; control.setParent(this); control._registerOnCollectionChange(this._onCollectionChange); return control; } /** * Add a control to this group. * * This method also updates the value and validity of the control. * * @param {?} name The control name to add to the collection * @param {?} control Provides the control for the given name * @return {?} */ addControl(name, control) { this.registerControl(name, control); this.updateValueAndValidity(); this._onCollectionChange(); } /** * Remove a control from this group. * * @param {?} name The control name to remove from the collection * @return {?} */ removeControl(name) { if (this.controls[name]) this.controls[name]._registerOnCollectionChange(( /** * @return {?} */() => { })); delete (this.controls[name]); this.updateValueAndValidity(); this._onCollectionChange(); } /** * Replace an existing control. * * @param {?} name The control name to replace in the collection * @param {?} control Provides the control for the given name * @return {?} */ setControl(name, control) { if (this.controls[name]) this.controls[name]._registerOnCollectionChange(( /** * @return {?} */() => { })); delete (this.controls[name]); if (control) this.registerControl(name, control); this.updateValueAndValidity(); this._onCollectionChange(); } /** * Check whether there is an enabled control with the given name in the group. * * Reports false for disabled controls. If you'd like to check for existence in the group * only, use {\@link AbstractControl#get get} instead. * * @param {?} controlName The control name to check for existence in the collection * * @return {?} false for disabled controls, true otherwise. */ contains(controlName) { return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled; } /** * Sets the value of the `FormGroup`. It accepts an object that matches * the structure of the group, with control names as keys. * * \@usageNotes * ### Set the complete value for the form group * * ``` * const form = new FormGroup({ * first: new FormControl(), * last: new FormControl() * }); * * console.log(form.value); // {first: null, last: null} * * form.setValue({first: 'Nancy', last: 'Drew'}); * console.log(form.value); // {first: 'Nancy', last: 'Drew'} * ``` * * @throws When strict checks fail, such as setting the value of a control * that doesn't exist or if you exclude a value of a control that does exist. * * @param {?} value The new value for the control that matches the structure of the group. * @param {?=} options Configuration options that determine how the control propagates changes * and emits events after the value changes. * The configuration options are passed to the {\@link AbstractControl#updateValueAndValidity * updateValueAndValidity} method. * * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is * false. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control value is updated. * When false, no events are emitted. * @return {?} */ setValue(value, options = {}) { this._checkAllValuesPresent(value); Object.keys(value).forEach(( /** * @param {?} name * @return {?} *//** * @param {?} name * @return {?} */ name => { this._throwIfControlMissing(name); this.controls[name].setValue(value[name], { onlySelf: true, emitEvent: options.emitEvent }); })); this.updateValueAndValidity(options); } /** * Patches the value of the `FormGroup`. It accepts an object with control * names as keys, and does its best to match the values to the correct controls * in the group. * * It accepts both super-sets and sub-sets of the group without throwing an error. * * \@usageNotes * ### Patch the value for a form group * * ``` * const form = new FormGroup({ * first: new FormControl(), * last: new FormControl() * }); * console.log(form.value); // {first: null, last: null} * * form.patchValue({first: 'Nancy'}); * console.log(form.value); // {first: 'Nancy', last: null} * ``` * * @param {?} value The object that matches the structure of the group. * @param {?=} options Configuration options that determine how the control propagates changes and * emits events after the value is patched. * * `onlySelf`: When true, each change only affects this control and not its parent. Default is * true. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control value is updated. * When false, no events are emitted. * The configuration options are passed to the {\@link AbstractControl#updateValueAndValidity * updateValueAndValidity} method. * @return {?} */ patchValue(value, options = {}) { Object.keys(value).forEach(( /** * @param {?} name * @return {?} *//** * @param {?} name * @return {?} */ name => { if (this.controls[name]) { this.controls[name].patchValue(value[name], { onlySelf: true, emitEvent: options.emitEvent }); } })); this.updateValueAndValidity(options); } /** * Resets the `FormGroup`, marks all descendants are marked `pristine` and `untouched`, and * the value of all descendants to null. * * You reset to a specific form state by passing in a map of states * that matches the structure of your form, with control names as keys. The state * is a standalone value or a form state object with both a value and a disabled * status. * * \@usageNotes * * ### Reset the form group values * * ```ts * const form = new FormGroup({ * first: new FormControl('first name'), * last: new FormControl('last name') * }); * * console.log(form.value); // {first: 'first name', last: 'last name'} * * form.reset({ first: 'name', last: 'last name' }); * * console.log(form.value); // {first: 'name', last: 'last name'} * ``` * * ### Reset the form group values and disabled status * * ``` * const form = new FormGroup({ * first: new FormControl('first name'), * last: new FormControl('last name') * }); * * form.reset({ * first: {value: 'name', disabled: true}, * last: 'last' * }); * * console.log(this.form.value); // {first: 'name', last: 'last name'} * console.log(this.form.get('first').status); // 'DISABLED' * ``` * @param {?=} value Resets the control with an initial value, * or an object that defines the initial value and disabled state. * * @param {?=} options Configuration options that determine how the control propagates changes * and emits events when the group is reset. * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is * false. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control is reset. * When false, no events are emitted. * The configuration options are passed to the {\@link AbstractControl#updateValueAndValidity * updateValueAndValidity} method. * * @return {?} */ reset(value = {}, options = {}) { this._forEachChild(( /** * @param {?} control * @param {?} name * @return {?} */(control, name) => { control.reset(value[name], { onlySelf: true, emitEvent: options.emitEvent }); })); this._updatePristine(options); this._updateTouched(options); this.updateValueAndValidity(options); } /** * The aggregate value of the `FormGroup`, including any disabled controls. * * Retrieves all values regardless of disabled status. * The `value` property is the best way to get the value of the group, because * it excludes disabled controls in the `FormGroup`. * @return {?} */ getRawValue() { return this._reduceChildren({}, ( /** * @param {?} acc * @param {?} control * @param {?} name * @return {?} */(acc, control, name) => { acc[name] = control instanceof FormControl ? control.value : (( /** @type {?} */(control))).getRawValue(); return acc; })); } /** * \@internal * @return {?} */ _syncPendingControls() { /** @type {?} */ let subtreeUpdated = this._reduceChildren(false, ( /** * @param {?} updated * @param {?} child * @return {?} */(updated, child) => { return child._syncPendingControls() ? true : updated; })); if (subtreeUpdated) this.updateValueAndValidity({ onlySelf: true }); return subtreeUpdated; } /** * \@internal * @param {?} name * @return {?} */ _throwIfControlMissing(name) { if (!Object.keys(this.controls).length) { throw new Error(` There are no form controls registered with this group yet. If you're using ngModel, you may want to check next tick (e.g. use setTimeout). `); } if (!this.controls[name]) { throw new Error(`Cannot find form control with name: ${name}.`); } } /** * \@internal * @param {?} cb * @return {?} */ _forEachChild(cb) { Object.keys(this.controls).forEach(( /** * @param {?} k * @return {?} *//** * @param {?} k * @return {?} */ k => cb(this.controls[k], k))); } /** * \@internal * @return {?} */ _setUpControls() { this._forEachChild(( /** * @param {?} control * @return {?} */(control) => { control.setParent(this); control._registerOnCollectionChange(this._onCollectionChange); })); } /** * \@internal * @return {?} */ _updateValue() { (( /** @type {?} */(this))).value = this._reduceValue(); } /** * \@internal * @param {?} condition * @return {?} */ _anyControls(condition) { /** @type {?} */ let res = false; this._forEachChild(( /** * @param {?} control * @param {?} name * @return {?} */(control, name) => { res = res || (this.contains(name) && condition(control)); })); return res; } /** * \@internal * @return {?} */ _reduceValue() { return this._reduceChildren({}, ( /** * @param {?} acc * @param {?} control * @param {?} name * @return {?} */(acc, control, name) => { if (control.enabled || this.disabled) { acc[name] = control.value; } return acc; })); } /** * \@internal * @param {?} initValue * @param {?} fn * @return {?} */ _reduceChildren(initValue, fn) { /** @type {?} */ let res = initValue; this._forEachChild(( /** * @param {?} control * @param {?} name * @return {?} */(control, name) => { res = fn(res, control, name); })); return res; } /** * \@internal * @return {?} */ _allControlsDisabled() { for (const controlName of Object.keys(this.controls)) { if (this.controls[controlName].enabled) { return false; } } return Object.keys(this.controls).length > 0 || this.disabled; } /** * \@internal * @param {?} value * @return {?} */ _checkAllValuesPresent(value) { this._forEachChild(( /** * @param {?} control * @param {?} name * @return {?} */(control, name) => { if (value[name] === undefined) { throw new Error(`Must supply a value for form control with name: '${name}'.`); } })); } } if (false) {} /** * Tracks the value and validity state of an array of `FormControl`, * `FormGroup` or `FormArray` instances. * * A `FormArray` aggregates the values of each child `FormControl` into an array. * It calculates its status by reducing the status values of its children. For example, if one of * the controls in a `FormArray` is invalid, the entire array becomes invalid. * * `FormArray` is one of the three fundamental building blocks used to define forms in Angular, * along with `FormControl` and `FormGroup`. * * \@usageNotes * * ### Create an array of form controls * * ``` * const arr = new FormArray([ * new FormControl('Nancy', Validators.minLength(2)), * new FormControl('Drew'), * ]); * * console.log(arr.value); // ['Nancy', 'Drew'] * console.log(arr.status); // 'VALID' * ``` * * ### Create a form array with array-level validators * * You include array-level validators and async validators. These come in handy * when you want to perform validation that considers the value of more than one child * control. * * The two types of validators are passed in separately as the second and third arg * respectively, or together as part of an options object. * * ``` * const arr = new FormArray([ * new FormControl('Nancy'), * new FormControl('Drew') * ], {validators: myValidator, asyncValidators: myAsyncValidator}); * ``` * * ### Set the updateOn property for all controls in a form array * * The options object is used to set a default value for each child * control's `updateOn` property. If you set `updateOn` to `'blur'` at the * array level, all child controls default to 'blur', unless the child * has explicitly specified a different `updateOn` value. * * ```ts * const arr = new FormArray([ * new FormControl() * ], {updateOn: 'blur'}); * ``` * * ### Adding or removing controls from a form array * * To change the controls in the array, use the `push`, `insert`, `removeAt` or `clear` methods * in `FormArray` itself. These methods ensure the controls are properly tracked in the * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate * the `FormArray` directly, as that result in strange and unexpected behavior such * as broken change detection. * * \@publicApi */ class FormArray extends AbstractControl { /** * Creates a new `FormArray` instance. * * @param {?} controls An array of child controls. Each child control is given an index * where it is registered. * * @param {?=} validatorOrOpts A synchronous validator function, or an array of * such functions, or an `AbstractControlOptions` object that contains validation functions * and a validation trigger. * * @param {?=} asyncValidator A single async validator or array of async validator functions * */ constructor(controls, validatorOrOpts, asyncValidator) { super(coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts)); this.controls = controls; this._initObservables(); this._setUpdateStrategy(validatorOrOpts); this._setUpControls(); this.updateValueAndValidity({ onlySelf: true, emitEvent: false }); } /** * Get the `AbstractControl` at the given `index` in the array. * * @param {?} index Index in the array to retrieve the control * @return {?} */ at(index) { return this.controls[index]; } /** * Insert a new `AbstractControl` at the end of the array. * * @param {?} control Form control to be inserted * @return {?} */ push(control) { this.controls.push(control); this._registerControl(control); this.updateValueAndValidity(); this._onCollectionChange(); } /** * Insert a new `AbstractControl` at the given `index` in the array. * * @param {?} index Index in the array to insert the control * @param {?} control Form control to be inserted * @return {?} */ insert(index, control) { this.controls.splice(index, 0, control); this._registerControl(control); this.updateValueAndValidity(); } /** * Remove the control at the given `index` in the array. * * @param {?} index Index in the array to remove the control * @return {?} */ removeAt(index) { if (this.controls[index]) this.controls[index]._registerOnCollectionChange(( /** * @return {?} */() => { })); this.controls.splice(index, 1); this.updateValueAndValidity(); } /** * Replace an existing control. * * @param {?} index Index in the array to replace the control * @param {?} control The `AbstractControl` control to replace the existing control * @return {?} */ setControl(index, control) { if (this.controls[index]) this.controls[index]._registerOnCollectionChange(( /** * @return {?} */() => { })); this.controls.splice(index, 1); if (control) { this.controls.splice(index, 0, control); this._registerControl(control); } this.updateValueAndValidity(); this._onCollectionChange(); } /** * Length of the control array. * @return {?} */ get length() { return this.controls.length; } /** * Sets the value of the `FormArray`. It accepts an array that matches * the structure of the control. * * This method performs strict checks, and throws an error if you try * to set the value of a control that doesn't exist or if you exclude the * value of a control. * * \@usageNotes * ### Set the values for the controls in the form array * * ``` * const arr = new FormArray([ * new FormControl(), * new FormControl() * ]); * console.log(arr.value); // [null, null] * * arr.setValue(['Nancy', 'Drew']); * console.log(arr.value); // ['Nancy', 'Drew'] * ``` * * @param {?} value Array of values for the controls * @param {?=} options Configure options that determine how the control propagates changes and * emits events after the value changes * * * `onlySelf`: When true, each change only affects this control, and not its parent. Default * is false. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control value is updated. * When false, no events are emitted. * The configuration options are passed to the {\@link AbstractControl#updateValueAndValidity * updateValueAndValidity} method. * @return {?} */ setValue(value, options = {}) { this._checkAllValuesPresent(value); value.forEach(( /** * @param {?} newValue * @param {?} index * @return {?} */(newValue, index) => { this._throwIfControlMissing(index); this.at(index).setValue(newValue, { onlySelf: true, emitEvent: options.emitEvent }); })); this.updateValueAndValidity(options); } /** * Patches the value of the `FormArray`. It accepts an array that matches the * structure of the control, and does its best to match the values to the correct * controls in the group. * * It accepts both super-sets and sub-sets of the array without throwing an error. * * \@usageNotes * ### Patch the values for controls in a form array * * ``` * const arr = new FormArray([ * new FormControl(), * new FormControl() * ]); * console.log(arr.value); // [null, null] * * arr.patchValue(['Nancy']); * console.log(arr.value); // ['Nancy', null] * ``` * * @param {?} value Array of latest values for the controls * @param {?=} options Configure options that determine how the control propagates changes and * emits events after the value changes * * * `onlySelf`: When true, each change only affects this control, and not its parent. Default * is false. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control value is updated. * When false, no events are emitted. * The configuration options are passed to the {\@link AbstractControl#updateValueAndValidity * updateValueAndValidity} method. * @return {?} */ patchValue(value, options = {}) { value.forEach(( /** * @param {?} newValue * @param {?} index * @return {?} */(newValue, index) => { if (this.at(index)) { this.at(index).patchValue(newValue, { onlySelf: true, emitEvent: options.emitEvent }); } })); this.updateValueAndValidity(options); } /** * Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the * value of all descendants to null or null maps. * * You reset to a specific form state by passing in an array of states * that matches the structure of the control. The state is a standalone value * or a form state object with both a value and a disabled status. * * \@usageNotes * ### Reset the values in a form array * * ```ts * const arr = new FormArray([ * new FormControl(), * new FormControl() * ]); * arr.reset(['name', 'last name']); * * console.log(this.arr.value); // ['name', 'last name'] * ``` * * ### Reset the values in a form array and the disabled status for the first control * * ``` * this.arr.reset([ * {value: 'name', disabled: true}, * 'last' * ]); * * console.log(this.arr.value); // ['name', 'last name'] * console.log(this.arr.get(0).status); // 'DISABLED' * ``` * * @param {?=} value Array of values for the controls * @param {?=} options Configure options that determine how the control propagates changes and * emits events after the value changes * * * `onlySelf`: When true, each change only affects this control, and not its parent. Default * is false. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and * `valueChanges` * observables emit events with the latest status and value when the control is reset. * When false, no events are emitted. * The configuration options are passed to the {\@link AbstractControl#updateValueAndValidity * updateValueAndValidity} method. * @return {?} */ reset(value = [], options = {}) { this._forEachChild(( /** * @param {?} control * @param {?} index * @return {?} */(control, index) => { control.reset(value[index], { onlySelf: true, emitEvent: options.emitEvent }); })); this._updatePristine(options); this._updateTouched(options); this.updateValueAndValidity(options); } /** * The aggregate value of the array, including any disabled controls. * * Reports all values regardless of disabled status. * For enabled controls only, the `value` property is the best way to get the value of the array. * @return {?} */ getRawValue() { return this.controls.map(( /** * @param {?} control * @return {?} */(control) => { return control instanceof FormControl ? control.value : (( /** @type {?} */(control))).getRawValue(); })); } /** * Remove all controls in the `FormArray`. * * \@usageNotes * ### Remove all elements from a FormArray * * ```ts * const arr = new FormArray([ * new FormControl(), * new FormControl() * ]); * console.log(arr.length); // 2 * * arr.clear(); * console.log(arr.length); // 0 * ``` * * It's a simpler and more efficient alternative to removing all elements one by one: * * ```ts * const arr = new FormArray([ * new FormControl(), * new FormControl() * ]); * * while (arr.length) { * arr.removeAt(0); * } * ``` * @return {?} */ clear() { if (this.controls.length < 1) return; this._forEachChild(( /** * @param {?} control * @return {?} */(control) => control._registerOnCollectionChange(( /** * @return {?} */() => { })))); this.controls.splice(0); this.updateValueAndValidity(); } /** * \@internal * @return {?} */ _syncPendingControls() { /** @type {?} */ let subtreeUpdated = this.controls.reduce(( /** * @param {?} updated * @param {?} child * @return {?} */(updated, child) => { return child._syncPendingControls() ? true : updated; }), false); if (subtreeUpdated) this.updateValueAndValidity({ onlySelf: true }); return subtreeUpdated; } /** * \@internal * @param {?} index * @return {?} */ _throwIfControlMissing(index) { if (!this.controls.length) { throw new Error(` There are no form controls registered with this array yet. If you're using ngModel, you may want to check next tick (e.g. use setTimeout). `); } if (!this.at(index)) { throw new Error(`Cannot find form control at index ${index}`); } } /** * \@internal * @param {?} cb * @return {?} */ _forEachChild(cb) { this.controls.forEach(( /** * @param {?} control * @param {?} index * @return {?} */(control, index) => { cb(control, index); })); } /** * \@internal * @return {?} */ _updateValue() { (( /** @type {?} */(this))).value = this.controls.filter(( /** * @param {?} control * @return {?} */(control) => control.enabled || this.disabled)) .map(( /** * @param {?} control * @return {?} */(control) => control.value)); } /** * \@internal * @param {?} condition * @return {?} */ _anyControls(condition) { return this.controls.some(( /** * @param {?} control * @return {?} */(control) => control.enabled && condition(control))); } /** * \@internal * @return {?} */ _setUpControls() { this._forEachChild(( /** * @param {?} control * @return {?} */(control) => this._registerControl(control))); } /** * \@internal * @param {?} value * @return {?} */ _checkAllValuesPresent(value) { this._forEachChild(( /** * @param {?} control * @param {?} i * @return {?} */(control, i) => { if (value[i] === undefined) { throw new Error(`Must supply a value for form control at index: ${i}.`); } })); } /** * \@internal * @return {?} */ _allControlsDisabled() { for (const control of this.controls) { if (control.enabled) return false; } return this.controls.length > 0 || this.disabled; } /** * @private * @param {?} control * @return {?} */ _registerControl(control) { control.setParent(this); control._registerOnCollectionChange(this._onCollectionChange); } } if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/ng_form.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const formDirectiveProvider = { provide: ControlContainer, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => NgForm)) }; const ɵ0 = /** * @return {?} */ () => Promise.resolve(null); /** @type {?} */ const resolvedPromise = /*@__PURE__*/ ((ɵ0))(); let NgForm = /*@__PURE__*/ (() => { class NgForm extends ControlContainer { /** * @param {?} validators * @param {?} asyncValidators */ constructor(validators, asyncValidators) { super(); /** * \@description * Returns whether the form submission has been triggered. */ this.submitted = false; this._directives = []; /** * \@description * Event emitter for the "ngSubmit" event */ this.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* EventEmitter */ "q"](); this.form = new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators)); } /** * \@description * Lifecycle method called after the view is initialized. For internal use only. * @return {?} */ ngAfterViewInit() { this._setUpdateStrategy(); } /** * \@description * The directive instance. * @return {?} */ get formDirective() { return this; } /** * \@description * The internal `FormGroup` instance. * @return {?} */ get control() { return this.form; } /** * \@description * Returns an array representing the path to this group. Because this directive * always lives at the top level of a form, it is always an empty array. * @return {?} */ get path() { return []; } /** * \@description * Returns a map of the controls in this group. * @return {?} */ get controls() { return this.form.controls; } /** * \@description * Method that sets up the control directive in this group, re-calculates its value * and validity, and adds the instance to the internal list of directives. * * @param {?} dir The `NgModel` directive instance. * @return {?} */ addControl(dir) { resolvedPromise.then(( /** * @return {?} */() => { /** @type {?} */ const container = this._findContainer(dir.path); (( /** @type {?} */(dir))).control = ( /** @type {?} */(container.registerControl(dir.name, dir.control))); setUpControl(dir.control, dir); dir.control.updateValueAndValidity({ emitEvent: false }); this._directives.push(dir); })); } /** * \@description * Retrieves the `FormControl` instance from the provided `NgModel` directive. * * @param {?} dir The `NgModel` directive instance. * @return {?} */ getControl(dir) { return ( /** @type {?} */(this.form.get(dir.path))); } /** * \@description * Removes the `NgModel` instance from the internal list of directives * * @param {?} dir The `NgModel` directive instance. * @return {?} */ removeControl(dir) { resolvedPromise.then(( /** * @return {?} */() => { /** @type {?} */ const container = this._findContainer(dir.path); if (container) { container.removeControl(dir.name); } removeDir(this._directives, dir); })); } /** * \@description * Adds a new `NgModelGroup` directive instance to the form. * * @param {?} dir The `NgModelGroup` directive instance. * @return {?} */ addFormGroup(dir) { resolvedPromise.then(( /** * @return {?} */() => { /** @type {?} */ const container = this._findContainer(dir.path); /** @type {?} */ const group = new FormGroup({}); setUpFormContainer(group, dir); container.registerControl(dir.name, group); group.updateValueAndValidity({ emitEvent: false }); })); } /** * \@description * Removes the `NgModelGroup` directive instance from the form. * * @param {?} dir The `NgModelGroup` directive instance. * @return {?} */ removeFormGroup(dir) { resolvedPromise.then(( /** * @return {?} */() => { /** @type {?} */ const container = this._findContainer(dir.path); if (container) { container.removeControl(dir.name); } })); } /** * \@description * Retrieves the `FormGroup` for a provided `NgModelGroup` directive instance * * @param {?} dir The `NgModelGroup` directive instance. * @return {?} */ getFormGroup(dir) { return ( /** @type {?} */(this.form.get(dir.path))); } /** * Sets the new value for the provided `NgControl` directive. * * @param {?} dir The `NgControl` directive instance. * @param {?} value The new value for the directive's control. * @return {?} */ updateModel(dir, value) { resolvedPromise.then(( /** * @return {?} */() => { /** @type {?} */ const ctrl = ( /** @type {?} */(this.form.get(( /** @type {?} */(dir.path))))); ctrl.setValue(value); })); } /** * \@description * Sets the value for this `FormGroup`. * * @param {?} value The new value * @return {?} */ setValue(value) { this.control.setValue(value); } /** * \@description * Method called when the "submit" event is triggered on the form. * Triggers the `ngSubmit` emitter to emit the "submit" event as its payload. * * @param {?} $event The "submit" event object * @return {?} */ onSubmit($event) { (( /** @type {?} */(this))).submitted = true; syncPendingControls(this.form, this._directives); this.ngSubmit.emit($event); return false; } /** * \@description * Method called when the "reset" event is triggered on the form. * @return {?} */ onReset() { this.resetForm(); } /** * \@description * Resets the form to an initial value and resets its submitted status. * * @param {?=} value The new value for the form. * @return {?} */ resetForm(value = undefined) { this.form.reset(value); (( /** @type {?} */(this))).submitted = false; } /** * @private * @return {?} */ _setUpdateStrategy() { if (this.options && this.options.updateOn != null) { this.form._updateOn = this.options.updateOn; } } /** * \@internal * @param {?} path * @return {?} */ _findContainer(path) { path.pop(); return path.length ? ( /** @type {?} */(this.form.get(path))) : this.form; } } NgForm.ɵfac = function NgForm_Factory(t) { return new (t || NgForm)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_ASYNC_VALIDATORS, 10)); }; NgForm.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: NgForm, selectors: [["form", 3, "ngNoForm", "", 3, "formGroup", ""], ["ng-form"], ["", "ngForm", ""]], hostBindings: function NgForm_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("submit", function NgForm_submit_HostBindingHandler($event) { return ctx.onSubmit($event); })("reset", function NgForm_reset_HostBindingHandler() { return ctx.onReset(); }); } }, inputs: { options: ["ngFormOptions", "options"] }, outputs: { ngSubmit: "ngSubmit" }, exportAs: ["ngForm"], features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([formDirectiveProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return NgForm; })(); if (false) {} let AbstractFormGroupDirective = /*@__PURE__*/ (() => { class AbstractFormGroupDirective extends ControlContainer { /** * \@description * An internal callback method triggered on the instance after the inputs are set. * Registers the group with its parent group. * @return {?} */ ngOnInit() { this._checkParentType(); ( /** @type {?} */(this.formDirective)).addFormGroup(this); } /** * \@description * An internal callback method triggered before the instance is destroyed. * Removes the group from its parent group. * @return {?} */ ngOnDestroy() { if (this.formDirective) { this.formDirective.removeFormGroup(this); } } /** * \@description * The `FormGroup` bound to this directive. * @return {?} */ get control() { return ( /** @type {?} */(this.formDirective)).getFormGroup(this); } /** * \@description * The path to this group from the top-level directive. * @return {?} */ get path() { return controlPath(this.name == null ? this.name : this.name.toString(), this._parent); } /** * \@description * The top-level directive for this group if present, otherwise null. * @return {?} */ get formDirective() { return this._parent ? this._parent.formDirective : null; } /** * \@description * The synchronous validators registered with this group. * @return {?} */ get validator() { return composeValidators(this._validators); } /** * \@description * The async validators registered with this group. * @return {?} */ get asyncValidator() { return composeAsyncValidators(this._asyncValidators); } /** * \@internal * @return {?} */ _checkParentType() { } } AbstractFormGroupDirective.ɵfac = function AbstractFormGroupDirective_Factory(t) { return ɵAbstractFormGroupDirective_BaseFactory(t || AbstractFormGroupDirective); }; AbstractFormGroupDirective.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: AbstractFormGroupDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return AbstractFormGroupDirective; })(); const ɵAbstractFormGroupDirective_BaseFactory = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵgetInheritedFactory */ "cc"](AbstractFormGroupDirective); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/template_driven_errors.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class TemplateDrivenErrors { /** * @return {?} */ static modelParentException() { throw new Error(` ngModel cannot be used to register form controls with a parent formGroup directive. Try using formGroup's partner directive "formControlName" instead. Example: ${FormErrorExamples.formControlName} Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions: Example: ${FormErrorExamples.ngModelWithFormGroup}`); } /** * @return {?} */ static formGroupNameException() { throw new Error(` ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive. Option 1: Use formControlName instead of ngModel (reactive strategy): ${FormErrorExamples.formGroupName} Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy): ${FormErrorExamples.ngModelGroup}`); } /** * @return {?} */ static missingNameException() { throw new Error(`If ngModel is used within a form tag, either the name attribute must be set or the form control must be defined as 'standalone' in ngModelOptions. Example 1: Example 2: `); } /** * @return {?} */ static modelGroupParentException() { throw new Error(` ngModelGroup cannot be used with a parent formGroup directive. Option 1: Use formGroupName instead of ngModelGroup (reactive strategy): ${FormErrorExamples.formGroupName} Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy): ${FormErrorExamples.ngModelGroup}`); } } /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/ng_model_group.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const modelGroupProvider = { provide: ControlContainer, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => NgModelGroup)) }; let NgModelGroup = /*@__PURE__*/ (() => { class NgModelGroup extends AbstractFormGroupDirective { /** * @param {?} parent * @param {?} validators * @param {?} asyncValidators */ constructor(parent, validators, asyncValidators) { super(); this._parent = parent; this._validators = validators; this._asyncValidators = asyncValidators; } /** * \@internal * @return {?} */ _checkParentType() { if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) { TemplateDrivenErrors.modelGroupParentException(); } } } NgModelGroup.ɵfac = function NgModelGroup_Factory(t) { return new (t || NgModelGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](ControlContainer, 5), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_ASYNC_VALIDATORS, 10)); }; NgModelGroup.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: NgModelGroup, selectors: [["", "ngModelGroup", ""]], inputs: { name: ["ngModelGroup", "name"] }, exportAs: ["ngModelGroup"], features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([modelGroupProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return NgModelGroup; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/ng_model.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const formControlBinding = { provide: NgControl, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => NgModel)) }; const ɵ0$1 = /** * @return {?} */ () => Promise.resolve(null); /** * `ngModel` forces an additional change detection run when its inputs change: * E.g.: * ``` *
{{myModel.valid}}
* * ``` * I.e. `ngModel` can export itself on the element and then be used in the template. * Normally, this would result in expressions before the `input` that use the exported directive * to have and old value as they have been * dirty checked before. As this is a very common case for `ngModel`, we added this second change * detection run. * * Notes: * - this is just one extra run no matter how many `ngModel` have been changed. * - this is a general problem when using `exportAs` for directives! * @type {?} */ const resolvedPromise$1 = /*@__PURE__*/ ((ɵ0$1))(); let NgModel = /*@__PURE__*/ (() => { class NgModel extends NgControl { /** * @param {?} parent * @param {?} validators * @param {?} asyncValidators * @param {?} valueAccessors */ constructor(parent, validators, asyncValidators, valueAccessors) { super(); this.control = new FormControl(); /** * \@internal */ this._registered = false; /** * \@description * Event emitter for producing the `ngModelChange` event after * the view model updates. */ this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* EventEmitter */ "q"](); this._parent = parent; this._rawValidators = validators || []; this._rawAsyncValidators = asyncValidators || []; this.valueAccessor = selectValueAccessor(this, valueAccessors); } /** * \@description * A lifecycle method called when the directive's inputs change. For internal use * only. * * @param {?} changes A object of key/value pairs for the set of changed inputs. * @return {?} */ ngOnChanges(changes) { this._checkForErrors(); if (!this._registered) this._setUpControl(); if ('isDisabled' in changes) { this._updateDisabled(changes); } if (isPropertyUpdated(changes, this.viewModel)) { this._updateValue(this.model); this.viewModel = this.model; } } /** * \@description * Lifecycle method called before the directive's instance is destroyed. For internal * use only. * @return {?} */ ngOnDestroy() { this.formDirective && this.formDirective.removeControl(this); } /** * \@description * Returns an array that represents the path from the top-level form to this control. * Each index is the string name of the control on that level. * @return {?} */ get path() { return this._parent ? controlPath(this.name, this._parent) : [this.name]; } /** * \@description * The top-level directive for this control if present, otherwise null. * @return {?} */ get formDirective() { return this._parent ? this._parent.formDirective : null; } /** * \@description * Synchronous validator function composed of all the synchronous validators * registered with this directive. * @return {?} */ get validator() { return composeValidators(this._rawValidators); } /** * \@description * Async validator function composed of all the async validators registered with this * directive. * @return {?} */ get asyncValidator() { return composeAsyncValidators(this._rawAsyncValidators); } /** * \@description * Sets the new value for the view model and emits an `ngModelChange` event. * * @param {?} newValue The new value emitted by `ngModelChange`. * @return {?} */ viewToModelUpdate(newValue) { this.viewModel = newValue; this.update.emit(newValue); } /** * @private * @return {?} */ _setUpControl() { this._setUpdateStrategy(); this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this); this._registered = true; } /** * @private * @return {?} */ _setUpdateStrategy() { if (this.options && this.options.updateOn != null) { this.control._updateOn = this.options.updateOn; } } /** * @private * @return {?} */ _isStandalone() { return !this._parent || !!(this.options && this.options.standalone); } /** * @private * @return {?} */ _setUpStandalone() { setUpControl(this.control, this); this.control.updateValueAndValidity({ emitEvent: false }); } /** * @private * @return {?} */ _checkForErrors() { if (!this._isStandalone()) { this._checkParentType(); } this._checkName(); } /** * @private * @return {?} */ _checkParentType() { if (!(this._parent instanceof NgModelGroup) && this._parent instanceof AbstractFormGroupDirective) { TemplateDrivenErrors.formGroupNameException(); } else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) { TemplateDrivenErrors.modelParentException(); } } /** * @private * @return {?} */ _checkName() { if (this.options && this.options.name) this.name = this.options.name; if (!this._isStandalone() && !this.name) { TemplateDrivenErrors.missingNameException(); } } /** * @private * @param {?} value * @return {?} */ _updateValue(value) { resolvedPromise$1.then(( /** * @return {?} */() => { this.control.setValue(value, { emitViewToModelChange: false }); })); } /** * @private * @param {?} changes * @return {?} */ _updateDisabled(changes) { /** @type {?} */ const disabledValue = changes['isDisabled'].currentValue; /** @type {?} */ const isDisabled = disabledValue === '' || (disabledValue && disabledValue !== 'false'); resolvedPromise$1.then(( /** * @return {?} */() => { if (isDisabled && !this.control.disabled) { this.control.disable(); } else if (!isDisabled && this.control.disabled) { this.control.enable(); } })); } } NgModel.ɵfac = function NgModel_Factory(t) { return new (t || NgModel)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](ControlContainer, 9), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_ASYNC_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALUE_ACCESSOR, 10)); }; NgModel.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: NgModel, selectors: [["", "ngModel", "", 3, "formControlName", "", 3, "formControl", ""]], inputs: { name: "name", isDisabled: ["disabled", "isDisabled"], model: ["ngModel", "model"], options: ["ngModelOptions", "options"] }, outputs: { update: "ngModelChange" }, exportAs: ["ngModel"], features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([formControlBinding]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵNgOnChangesFeature */ "Fb"]] }); return NgModel; })(); if (false) {} let ɵNgNoValidate = /*@__PURE__*/ (() => { class ɵNgNoValidate { } ɵNgNoValidate.ɵfac = function ɵNgNoValidate_Factory(t) { return new (t || ɵNgNoValidate)(); }; ɵNgNoValidate.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: ɵNgNoValidate, selectors: [["form", 3, "ngNoForm", "", 3, "ngNativeValidate", ""]], hostAttrs: ["novalidate", ""] }); return ɵNgNoValidate; })(); /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/reactive_directives/form_control_directive.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Token to provide to turn off the ngModel warning on formControl and formControlName. * @type {?} */ const NG_MODEL_WITH_FORM_CONTROL_WARNING = /*@__PURE__*/ new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* InjectionToken */ "t"]('NgModelWithFormControlWarning'); /** @type {?} */ const formControlBinding$1 = { provide: NgControl, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => FormControlDirective)) }; let FormControlDirective = /*@__PURE__*/ (() => { class FormControlDirective extends NgControl { /** * @param {?} validators * @param {?} asyncValidators * @param {?} valueAccessors * @param {?} _ngModelWarningConfig */ constructor(validators, asyncValidators, valueAccessors, _ngModelWarningConfig) { super(); this._ngModelWarningConfig = _ngModelWarningConfig; /** * @deprecated as of v6 */ this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* EventEmitter */ "q"](); /** * \@description * Instance property used to track whether an ngModel warning has been sent out for this * particular `FormControlDirective` instance. Used to support warning config of "always". * * \@internal */ this._ngModelWarningSent = false; this._rawValidators = validators || []; this._rawAsyncValidators = asyncValidators || []; this.valueAccessor = selectValueAccessor(this, valueAccessors); } /** * \@description * Triggers a warning that this input should not be used with reactive forms. * @param {?} isDisabled * @return {?} */ set isDisabled(isDisabled) { ReactiveErrors.disabledAttrWarning(); } /** * \@description * A lifecycle method called when the directive's inputs change. For internal use * only. * * @param {?} changes A object of key/value pairs for the set of changed inputs. * @return {?} */ ngOnChanges(changes) { if (this._isControlChanged(changes)) { setUpControl(this.form, this); if (this.control.disabled && ( /** @type {?} */(this.valueAccessor)).setDisabledState) { ( /** @type {?} */(( /** @type {?} */(this.valueAccessor)).setDisabledState))(true); } this.form.updateValueAndValidity({ emitEvent: false }); } if (isPropertyUpdated(changes, this.viewModel)) { _ngModelWarning('formControl', FormControlDirective, this, this._ngModelWarningConfig); this.form.setValue(this.model); this.viewModel = this.model; } } /** * \@description * Returns an array that represents the path from the top-level form to this control. * Each index is the string name of the control on that level. * @return {?} */ get path() { return []; } /** * \@description * Synchronous validator function composed of all the synchronous validators * registered with this directive. * @return {?} */ get validator() { return composeValidators(this._rawValidators); } /** * \@description * Async validator function composed of all the async validators registered with this * directive. * @return {?} */ get asyncValidator() { return composeAsyncValidators(this._rawAsyncValidators); } /** * \@description * The `FormControl` bound to this directive. * @return {?} */ get control() { return this.form; } /** * \@description * Sets the new value for the view model and emits an `ngModelChange` event. * * @param {?} newValue The new value for the view model. * @return {?} */ viewToModelUpdate(newValue) { this.viewModel = newValue; this.update.emit(newValue); } /** * @private * @param {?} changes * @return {?} */ _isControlChanged(changes) { return changes.hasOwnProperty('form'); } } FormControlDirective.ɵfac = function FormControlDirective_Factory(t) { return new (t || FormControlDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_ASYNC_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALUE_ACCESSOR, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_MODEL_WITH_FORM_CONTROL_WARNING, 8)); }; FormControlDirective.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: FormControlDirective, selectors: [["", "formControl", ""]], inputs: { isDisabled: ["disabled", "isDisabled"], form: ["formControl", "form"], model: ["ngModel", "model"] }, outputs: { update: "ngModelChange" }, exportAs: ["ngForm"], features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([formControlBinding$1]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵNgOnChangesFeature */ "Fb"]] }); /** * \@description * Static property used to track whether any ngModel warnings have been sent across * all instances of FormControlDirective. Used to support warning config of "once". * * \@internal */ FormControlDirective._ngModelWarningSentOnce = false; return FormControlDirective; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/reactive_directives/form_group_directive.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const formDirectiveProvider$1 = { provide: ControlContainer, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => FormGroupDirective)) }; let FormGroupDirective = /*@__PURE__*/ (() => { class FormGroupDirective extends ControlContainer { /** * @param {?} _validators * @param {?} _asyncValidators */ constructor(_validators, _asyncValidators) { super(); this._validators = _validators; this._asyncValidators = _asyncValidators; /** * \@description * Reports whether the form submission has been triggered. */ this.submitted = false; /** * \@description * Tracks the list of added `FormControlName` instances */ this.directives = []; /** * \@description * Tracks the `FormGroup` bound to this directive. */ this.form = ( /** @type {?} */(null)); /** * \@description * Emits an event when the form submission has been triggered. */ this.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* EventEmitter */ "q"](); } /** * \@description * A lifecycle method called when the directive's inputs change. For internal use only. * * @param {?} changes A object of key/value pairs for the set of changed inputs. * @return {?} */ ngOnChanges(changes) { this._checkFormPresent(); if (changes.hasOwnProperty('form')) { this._updateValidators(); this._updateDomValue(); this._updateRegistrations(); } } /** * \@description * Returns this directive's instance. * @return {?} */ get formDirective() { return this; } /** * \@description * Returns the `FormGroup` bound to this directive. * @return {?} */ get control() { return this.form; } /** * \@description * Returns an array representing the path to this group. Because this directive * always lives at the top level of a form, it always an empty array. * @return {?} */ get path() { return []; } /** * \@description * Method that sets up the control directive in this group, re-calculates its value * and validity, and adds the instance to the internal list of directives. * * @param {?} dir The `FormControlName` directive instance. * @return {?} */ addControl(dir) { /** @type {?} */ const ctrl = this.form.get(dir.path); setUpControl(ctrl, dir); ctrl.updateValueAndValidity({ emitEvent: false }); this.directives.push(dir); return ctrl; } /** * \@description * Retrieves the `FormControl` instance from the provided `FormControlName` directive * * @param {?} dir The `FormControlName` directive instance. * @return {?} */ getControl(dir) { return ( /** @type {?} */(this.form.get(dir.path))); } /** * \@description * Removes the `FormControlName` instance from the internal list of directives * * @param {?} dir The `FormControlName` directive instance. * @return {?} */ removeControl(dir) { removeDir(this.directives, dir); } /** * Adds a new `FormGroupName` directive instance to the form. * * @param {?} dir The `FormGroupName` directive instance. * @return {?} */ addFormGroup(dir) { /** @type {?} */ const ctrl = this.form.get(dir.path); setUpFormContainer(ctrl, dir); ctrl.updateValueAndValidity({ emitEvent: false }); } /** * No-op method to remove the form group. * * @param {?} dir The `FormGroupName` directive instance. * @return {?} */ removeFormGroup(dir) { } /** * \@description * Retrieves the `FormGroup` for a provided `FormGroupName` directive instance * * @param {?} dir The `FormGroupName` directive instance. * @return {?} */ getFormGroup(dir) { return ( /** @type {?} */(this.form.get(dir.path))); } /** * Adds a new `FormArrayName` directive instance to the form. * * @param {?} dir The `FormArrayName` directive instance. * @return {?} */ addFormArray(dir) { /** @type {?} */ const ctrl = this.form.get(dir.path); setUpFormContainer(ctrl, dir); ctrl.updateValueAndValidity({ emitEvent: false }); } /** * No-op method to remove the form array. * * @param {?} dir The `FormArrayName` directive instance. * @return {?} */ removeFormArray(dir) { } /** * \@description * Retrieves the `FormArray` for a provided `FormArrayName` directive instance. * * @param {?} dir The `FormArrayName` directive instance. * @return {?} */ getFormArray(dir) { return ( /** @type {?} */(this.form.get(dir.path))); } /** * Sets the new value for the provided `FormControlName` directive. * * @param {?} dir The `FormControlName` directive instance. * @param {?} value The new value for the directive's control. * @return {?} */ updateModel(dir, value) { /** @type {?} */ const ctrl = ( /** @type {?} */(this.form.get(dir.path))); ctrl.setValue(value); } /** * \@description * Method called with the "submit" event is triggered on the form. * Triggers the `ngSubmit` emitter to emit the "submit" event as its payload. * * @param {?} $event The "submit" event object * @return {?} */ onSubmit($event) { (( /** @type {?} */(this))).submitted = true; syncPendingControls(this.form, this.directives); this.ngSubmit.emit($event); return false; } /** * \@description * Method called when the "reset" event is triggered on the form. * @return {?} */ onReset() { this.resetForm(); } /** * \@description * Resets the form to an initial value and resets its submitted status. * * @param {?=} value The new value for the form. * @return {?} */ resetForm(value = undefined) { this.form.reset(value); (( /** @type {?} */(this))).submitted = false; } /** * \@internal * @return {?} */ _updateDomValue() { this.directives.forEach(( /** * @param {?} dir * @return {?} *//** * @param {?} dir * @return {?} */ dir => { /** @type {?} */ const newCtrl = this.form.get(dir.path); if (dir.control !== newCtrl) { cleanUpControl(dir.control, dir); if (newCtrl) setUpControl(newCtrl, dir); (( /** @type {?} */(dir))).control = newCtrl; } })); this.form._updateTreeValidity({ emitEvent: false }); } /** * @private * @return {?} */ _updateRegistrations() { this.form._registerOnCollectionChange(( /** * @return {?} */() => this._updateDomValue())); if (this._oldForm) this._oldForm._registerOnCollectionChange(( /** * @return {?} */() => { })); this._oldForm = this.form; } /** * @private * @return {?} */ _updateValidators() { /** @type {?} */ const sync = composeValidators(this._validators); this.form.validator = Validators.compose([( /** @type {?} */(this.form.validator)), ( /** @type {?} */(sync))]); /** @type {?} */ const async = composeAsyncValidators(this._asyncValidators); this.form.asyncValidator = Validators.composeAsync([( /** @type {?} */(this.form.asyncValidator)), ( /** @type {?} */(async))]); } /** * @private * @return {?} */ _checkFormPresent() { if (!this.form) { ReactiveErrors.missingFormException(); } } } FormGroupDirective.ɵfac = function FormGroupDirective_Factory(t) { return new (t || FormGroupDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_ASYNC_VALIDATORS, 10)); }; FormGroupDirective.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: FormGroupDirective, selectors: [["", "formGroup", ""]], hostBindings: function FormGroupDirective_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵlistener */ "ic"]("submit", function FormGroupDirective_submit_HostBindingHandler($event) { return ctx.onSubmit($event); })("reset", function FormGroupDirective_reset_HostBindingHandler() { return ctx.onReset(); }); } }, inputs: { form: ["formGroup", "form"] }, outputs: { ngSubmit: "ngSubmit" }, exportAs: ["ngForm"], features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([formDirectiveProvider$1]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵNgOnChangesFeature */ "Fb"]] }); return FormGroupDirective; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/reactive_directives/form_group_name.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const formGroupNameProvider = { provide: ControlContainer, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => FormGroupName)) }; let FormGroupName = /*@__PURE__*/ (() => { class FormGroupName extends AbstractFormGroupDirective { /** * @param {?} parent * @param {?} validators * @param {?} asyncValidators */ constructor(parent, validators, asyncValidators) { super(); this._parent = parent; this._validators = validators; this._asyncValidators = asyncValidators; } /** * \@internal * @return {?} */ _checkParentType() { if (_hasInvalidParent(this._parent)) { ReactiveErrors.groupParentException(); } } } FormGroupName.ɵfac = function FormGroupName_Factory(t) { return new (t || FormGroupName)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](ControlContainer, 13), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_ASYNC_VALIDATORS, 10)); }; FormGroupName.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: FormGroupName, selectors: [["", "formGroupName", ""]], inputs: { name: ["formGroupName", "name"] }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([formGroupNameProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return FormGroupName; })(); if (false) {} /** @type {?} */ const formArrayNameProvider = { provide: ControlContainer, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => FormArrayName)) }; let FormArrayName = /*@__PURE__*/ (() => { class FormArrayName extends ControlContainer { /** * @param {?} parent * @param {?} validators * @param {?} asyncValidators */ constructor(parent, validators, asyncValidators) { super(); this._parent = parent; this._validators = validators; this._asyncValidators = asyncValidators; } /** * \@description * A lifecycle method called when the directive's inputs are initialized. For internal use only. * * @throws If the directive does not have a valid parent. * @return {?} */ ngOnInit() { this._checkParentType(); ( /** @type {?} */(this.formDirective)).addFormArray(this); } /** * \@description * A lifecycle method called before the directive's instance is destroyed. For internal use only. * @return {?} */ ngOnDestroy() { if (this.formDirective) { this.formDirective.removeFormArray(this); } } /** * \@description * The `FormArray` bound to this directive. * @return {?} */ get control() { return ( /** @type {?} */(this.formDirective)).getFormArray(this); } /** * \@description * The top-level directive for this group if present, otherwise null. * @return {?} */ get formDirective() { return this._parent ? ( /** @type {?} */(this._parent.formDirective)) : null; } /** * \@description * Returns an array that represents the path from the top-level form to this control. * Each index is the string name of the control on that level. * @return {?} */ get path() { return controlPath(this.name == null ? this.name : this.name.toString(), this._parent); } /** * \@description * Synchronous validator function composed of all the synchronous validators registered with this * directive. * @return {?} */ get validator() { return composeValidators(this._validators); } /** * \@description * Async validator function composed of all the async validators registered with this directive. * @return {?} */ get asyncValidator() { return composeAsyncValidators(this._asyncValidators); } /** * @private * @return {?} */ _checkParentType() { if (_hasInvalidParent(this._parent)) { ReactiveErrors.arrayParentException(); } } } FormArrayName.ɵfac = function FormArrayName_Factory(t) { return new (t || FormArrayName)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](ControlContainer, 13), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_ASYNC_VALIDATORS, 10)); }; FormArrayName.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: FormArrayName, selectors: [["", "formArrayName", ""]], inputs: { name: ["formArrayName", "name"] }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([formArrayNameProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return FormArrayName; })(); if (false) {} /** * @param {?} parent * @return {?} */ function _hasInvalidParent(parent) { return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) && !(parent instanceof FormArrayName); } /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/reactive_directives/form_control_name.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const controlNameBinding = { provide: NgControl, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => FormControlName)) }; let FormControlName = /*@__PURE__*/ (() => { class FormControlName extends NgControl { /** * @param {?} parent * @param {?} validators * @param {?} asyncValidators * @param {?} valueAccessors * @param {?} _ngModelWarningConfig */ constructor(parent, validators, asyncValidators, valueAccessors, _ngModelWarningConfig) { super(); this._ngModelWarningConfig = _ngModelWarningConfig; this._added = false; /** * @deprecated as of v6 */ this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* EventEmitter */ "q"](); /** * \@description * Instance property used to track whether an ngModel warning has been sent out for this * particular FormControlName instance. Used to support warning config of "always". * * \@internal */ this._ngModelWarningSent = false; this._parent = parent; this._rawValidators = validators || []; this._rawAsyncValidators = asyncValidators || []; this.valueAccessor = selectValueAccessor(this, valueAccessors); } /** * \@description * Triggers a warning that this input should not be used with reactive forms. * @param {?} isDisabled * @return {?} */ set isDisabled(isDisabled) { ReactiveErrors.disabledAttrWarning(); } /** * \@description * A lifecycle method called when the directive's inputs change. For internal use only. * * @param {?} changes A object of key/value pairs for the set of changed inputs. * @return {?} */ ngOnChanges(changes) { if (!this._added) this._setUpControl(); if (isPropertyUpdated(changes, this.viewModel)) { _ngModelWarning('formControlName', FormControlName, this, this._ngModelWarningConfig); this.viewModel = this.model; this.formDirective.updateModel(this, this.model); } } /** * \@description * Lifecycle method called before the directive's instance is destroyed. For internal use only. * @return {?} */ ngOnDestroy() { if (this.formDirective) { this.formDirective.removeControl(this); } } /** * \@description * Sets the new value for the view model and emits an `ngModelChange` event. * * @param {?} newValue The new value for the view model. * @return {?} */ viewToModelUpdate(newValue) { this.viewModel = newValue; this.update.emit(newValue); } /** * \@description * Returns an array that represents the path from the top-level form to this control. * Each index is the string name of the control on that level. * @return {?} */ get path() { return controlPath(this.name == null ? this.name : this.name.toString(), ( /** @type {?} */(this._parent))); } /** * \@description * The top-level directive for this group if present, otherwise null. * @return {?} */ get formDirective() { return this._parent ? this._parent.formDirective : null; } /** * \@description * Synchronous validator function composed of all the synchronous validators * registered with this directive. * @return {?} */ get validator() { return composeValidators(this._rawValidators); } /** * \@description * Async validator function composed of all the async validators registered with this * directive. * @return {?} */ get asyncValidator() { return ( /** @type {?} */(composeAsyncValidators(this._rawAsyncValidators))); } /** * @private * @return {?} */ _checkParentType() { if (!(this._parent instanceof FormGroupName) && this._parent instanceof AbstractFormGroupDirective) { ReactiveErrors.ngModelGroupException(); } else if (!(this._parent instanceof FormGroupName) && !(this._parent instanceof FormGroupDirective) && !(this._parent instanceof FormArrayName)) { ReactiveErrors.controlParentException(); } } /** * @private * @return {?} */ _setUpControl() { this._checkParentType(); (( /** @type {?} */(this))).control = this.formDirective.addControl(this); if (this.control.disabled && ( /** @type {?} */(this.valueAccessor)).setDisabledState) { ( /** @type {?} */(( /** @type {?} */(this.valueAccessor)).setDisabledState))(true); } this._added = true; } } FormControlName.ɵfac = function FormControlName_Factory(t) { return new (t || FormControlName)(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](ControlContainer, 13), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_ASYNC_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_VALUE_ACCESSOR, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdirectiveInject */ "Vb"](NG_MODEL_WITH_FORM_CONTROL_WARNING, 8)); }; FormControlName.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: FormControlName, selectors: [["", "formControlName", ""]], inputs: { isDisabled: ["disabled", "isDisabled"], name: ["formControlName", "name"], model: ["ngModel", "model"] }, outputs: { update: "ngModelChange" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([controlNameBinding]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵNgOnChangesFeature */ "Fb"]] }); /** * \@description * Static property used to track whether any ngModel warnings have been sent across * all instances of FormControlName. Used to support warning config of "once". * * \@internal */ FormControlName._ngModelWarningSentOnce = false; return FormControlName; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives/validators.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * \@description * An interface implemented by classes that perform synchronous validation. * * \@usageNotes * * ### Provide a custom validator * * The following example implements the `Validator` interface to create a * validator directive with a custom error key. * * ```typescript * \@Directive({ * selector: '[customValidator]', * providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}] * }) * class CustomValidatorDirective implements Validator { * validate(control: AbstractControl): ValidationErrors|null { * return {'custom': true}; * } * } * ``` * * \@publicApi * @record */ function Validator() { } if (false) {} /** * \@description * An interface implemented by classes that perform asynchronous validation. * * \@usageNotes * * ### Provide a custom async validator directive * * The following example implements the `AsyncValidator` interface to create an * async validator directive with a custom error key. * * ```typescript * import { of as observableOf } from 'rxjs'; * * \@Directive({ * selector: '[customAsyncValidator]', * providers: [{provide: NG_ASYNC_VALIDATORS, useExisting: CustomAsyncValidatorDirective, multi: * true}] * }) * class CustomAsyncValidatorDirective implements AsyncValidator { * validate(control: AbstractControl): Observable { * return observableOf({'custom': true}); * } * } * ``` * * \@publicApi * @record */ function AsyncValidator() { } if (false) {} /** * \@description * Provider which adds `RequiredValidator` to the `NG_VALIDATORS` multi-provider list. * @type {?} */ const REQUIRED_VALIDATOR = { provide: NG_VALIDATORS, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => RequiredValidator)), multi: true }; /** * \@description * Provider which adds `CheckboxRequiredValidator` to the `NG_VALIDATORS` multi-provider list. * @type {?} */ const CHECKBOX_REQUIRED_VALIDATOR = { provide: NG_VALIDATORS, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => CheckboxRequiredValidator)), multi: true }; let RequiredValidator = /*@__PURE__*/ (() => { class RequiredValidator { /** * \@description * Tracks changes to the required attribute bound to this directive. * @return {?} */ get required() { return this._required; } /** * @param {?} value * @return {?} */ set required(value) { this._required = value != null && value !== false && `${value}` !== 'false'; if (this._onChange) this._onChange(); } /** * \@description * Method that validates whether the control is empty. * Returns the validation result if enabled, otherwise null. * @param {?} control * @return {?} */ validate(control) { return this.required ? Validators.required(control) : null; } /** * \@description * Registers a callback function to call when the validator inputs change. * * @param {?} fn The callback function * @return {?} */ registerOnValidatorChange(fn) { this._onChange = fn; } } RequiredValidator.ɵfac = function RequiredValidator_Factory(t) { return new (t || RequiredValidator)(); }; RequiredValidator.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: RequiredValidator, selectors: [["", "required", "", "formControlName", "", 3, "type", "checkbox"], ["", "required", "", "formControl", "", 3, "type", "checkbox"], ["", "required", "", "ngModel", "", 3, "type", "checkbox"]], hostVars: 1, hostBindings: function RequiredValidator_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵattribute */ "Ib"]("required", ctx.required ? "" : null); } }, inputs: { required: "required" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([REQUIRED_VALIDATOR])] }); return RequiredValidator; })(); if (false) {} let CheckboxRequiredValidator = /*@__PURE__*/ (() => { class CheckboxRequiredValidator extends RequiredValidator { /** * \@description * Method that validates whether or not the checkbox has been checked. * Returns the validation result if enabled, otherwise null. * @param {?} control * @return {?} */ validate(control) { return this.required ? Validators.requiredTrue(control) : null; } } CheckboxRequiredValidator.ɵfac = function CheckboxRequiredValidator_Factory(t) { return ɵCheckboxRequiredValidator_BaseFactory(t || CheckboxRequiredValidator); }; CheckboxRequiredValidator.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: CheckboxRequiredValidator, selectors: [["input", "type", "checkbox", "required", "", "formControlName", ""], ["input", "type", "checkbox", "required", "", "formControl", ""], ["input", "type", "checkbox", "required", "", "ngModel", ""]], hostVars: 1, hostBindings: function CheckboxRequiredValidator_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵattribute */ "Ib"]("required", ctx.required ? "" : null); } }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([CHECKBOX_REQUIRED_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵInheritDefinitionFeature */ "Eb"]] }); return CheckboxRequiredValidator; })(); const ɵCheckboxRequiredValidator_BaseFactory = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵgetInheritedFactory */ "cc"](CheckboxRequiredValidator); /** * \@description * Provider which adds `EmailValidator` to the `NG_VALIDATORS` multi-provider list. * @type {?} */ const EMAIL_VALIDATOR = { provide: NG_VALIDATORS, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => EmailValidator)), multi: true }; let EmailValidator = /*@__PURE__*/ (() => { class EmailValidator { /** * \@description * Tracks changes to the email attribute bound to this directive. * @param {?} value * @return {?} */ set email(value) { this._enabled = value === '' || value === true || value === 'true'; if (this._onChange) this._onChange(); } /** * \@description * Method that validates whether an email address is valid. * Returns the validation result if enabled, otherwise null. * @param {?} control * @return {?} */ validate(control) { return this._enabled ? Validators.email(control) : null; } /** * \@description * Registers a callback function to call when the validator inputs change. * * @param {?} fn The callback function * @return {?} */ registerOnValidatorChange(fn) { this._onChange = fn; } } EmailValidator.ɵfac = function EmailValidator_Factory(t) { return new (t || EmailValidator)(); }; EmailValidator.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: EmailValidator, selectors: [["", "email", "", "formControlName", ""], ["", "email", "", "formControl", ""], ["", "email", "", "ngModel", ""]], inputs: { email: "email" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([EMAIL_VALIDATOR])] }); return EmailValidator; })(); if (false) {} /** * \@description * A function that receives a control and synchronously returns a map of * validation errors if present, otherwise null. * * \@publicApi * @record */ function ValidatorFn() { } /** * \@description * A function that receives a control and returns a Promise or observable * that emits validation errors if present, otherwise null. * * \@publicApi * @record */ function AsyncValidatorFn() { } /** * \@description * Provider which adds `MinLengthValidator` to the `NG_VALIDATORS` multi-provider list. * @type {?} */ const MIN_LENGTH_VALIDATOR = { provide: NG_VALIDATORS, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => MinLengthValidator)), multi: true }; let MinLengthValidator = /*@__PURE__*/ (() => { class MinLengthValidator { /** * \@description * A lifecycle method called when the directive's inputs change. For internal use * only. * * @param {?} changes A object of key/value pairs for the set of changed inputs. * @return {?} */ ngOnChanges(changes) { if ('minlength' in changes) { this._createValidator(); if (this._onChange) this._onChange(); } } /** * \@description * Method that validates whether the value meets a minimum length * requirement. Returns the validation result if enabled, otherwise null. * @param {?} control * @return {?} */ validate(control) { return this.minlength == null ? null : this._validator(control); } /** * \@description * Registers a callback function to call when the validator inputs change. * * @param {?} fn The callback function * @return {?} */ registerOnValidatorChange(fn) { this._onChange = fn; } /** * @private * @return {?} */ _createValidator() { this._validator = Validators.minLength(typeof this.minlength === 'number' ? this.minlength : parseInt(this.minlength, 10)); } } MinLengthValidator.ɵfac = function MinLengthValidator_Factory(t) { return new (t || MinLengthValidator)(); }; MinLengthValidator.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: MinLengthValidator, selectors: [["", "minlength", "", "formControlName", ""], ["", "minlength", "", "formControl", ""], ["", "minlength", "", "ngModel", ""]], hostVars: 1, hostBindings: function MinLengthValidator_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵattribute */ "Ib"]("minlength", ctx.minlength ? ctx.minlength : null); } }, inputs: { minlength: "minlength" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([MIN_LENGTH_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵNgOnChangesFeature */ "Fb"]] }); return MinLengthValidator; })(); if (false) {} /** * \@description * Provider which adds `MaxLengthValidator` to the `NG_VALIDATORS` multi-provider list. * @type {?} */ const MAX_LENGTH_VALIDATOR = { provide: NG_VALIDATORS, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => MaxLengthValidator)), multi: true }; let MaxLengthValidator = /*@__PURE__*/ (() => { class MaxLengthValidator { /** * \@description * A lifecycle method called when the directive's inputs change. For internal use * only. * * @param {?} changes A object of key/value pairs for the set of changed inputs. * @return {?} */ ngOnChanges(changes) { if ('maxlength' in changes) { this._createValidator(); if (this._onChange) this._onChange(); } } /** * \@description * Method that validates whether the value exceeds * the maximum length requirement. * @param {?} control * @return {?} */ validate(control) { return this.maxlength != null ? this._validator(control) : null; } /** * \@description * Registers a callback function to call when the validator inputs change. * * @param {?} fn The callback function * @return {?} */ registerOnValidatorChange(fn) { this._onChange = fn; } /** * @private * @return {?} */ _createValidator() { this._validator = Validators.maxLength(typeof this.maxlength === 'number' ? this.maxlength : parseInt(this.maxlength, 10)); } } MaxLengthValidator.ɵfac = function MaxLengthValidator_Factory(t) { return new (t || MaxLengthValidator)(); }; MaxLengthValidator.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: MaxLengthValidator, selectors: [["", "maxlength", "", "formControlName", ""], ["", "maxlength", "", "formControl", ""], ["", "maxlength", "", "ngModel", ""]], hostVars: 1, hostBindings: function MaxLengthValidator_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵattribute */ "Ib"]("maxlength", ctx.maxlength ? ctx.maxlength : null); } }, inputs: { maxlength: "maxlength" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([MAX_LENGTH_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵNgOnChangesFeature */ "Fb"]] }); return MaxLengthValidator; })(); if (false) {} /** * \@description * Provider which adds `PatternValidator` to the `NG_VALIDATORS` multi-provider list. * @type {?} */ const PATTERN_VALIDATOR = { provide: NG_VALIDATORS, useExisting: /*@__PURE__*/ Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* forwardRef */ "Z"])(( /** * @return {?} */() => PatternValidator)), multi: true }; let PatternValidator = /*@__PURE__*/ (() => { class PatternValidator { /** * \@description * A lifecycle method called when the directive's inputs change. For internal use * only. * * @param {?} changes A object of key/value pairs for the set of changed inputs. * @return {?} */ ngOnChanges(changes) { if ('pattern' in changes) { this._createValidator(); if (this._onChange) this._onChange(); } } /** * \@description * Method that validates whether the value matches the * the pattern requirement. * @param {?} control * @return {?} */ validate(control) { return this._validator(control); } /** * \@description * Registers a callback function to call when the validator inputs change. * * @param {?} fn The callback function * @return {?} */ registerOnValidatorChange(fn) { this._onChange = fn; } /** * @private * @return {?} */ _createValidator() { this._validator = Validators.pattern(this.pattern); } } PatternValidator.ɵfac = function PatternValidator_Factory(t) { return new (t || PatternValidator)(); }; PatternValidator.ɵdir = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineDirective */ "Qb"]({ type: PatternValidator, selectors: [["", "pattern", "", "formControlName", ""], ["", "pattern", "", "formControl", ""], ["", "pattern", "", "ngModel", ""]], hostVars: 1, hostBindings: function PatternValidator_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵattribute */ "Ib"]("pattern", ctx.pattern ? ctx.pattern : null); } }, inputs: { pattern: "pattern" }, features: [/*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵProvidersFeature */ "Gb"]([PATTERN_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵNgOnChangesFeature */ "Fb"]] }); return PatternValidator; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: packages/forms/src/directives.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const SHARED_FORM_DIRECTIVES = [ ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator, ]; /** @type {?} */ const TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm]; /** @type {?} */ const REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName]; let ɵInternalFormsSharedModule = /*@__PURE__*/ (() => { class ɵInternalFormsSharedModule { } ɵInternalFormsSharedModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineNgModule */ "Tb"]({ type: ɵInternalFormsSharedModule }); ɵInternalFormsSharedModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineInjector */ "Sb"]({ factory: function ɵInternalFormsSharedModule_Factory(t) { return new (t || ɵInternalFormsSharedModule)(); } }); return ɵInternalFormsSharedModule; })(); /*@__PURE__*/ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵsetNgModuleScope */ "Qc"](ɵInternalFormsSharedModule, { declarations: [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator], exports: [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator] }); })(); /** * @fileoverview added by tsickle * Generated from: packages/forms/src/form_builder.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @param {?} options * @return {?} */ function isAbstractControlOptions(options) { return (( /** @type {?} */(options))).asyncValidators !== undefined || (( /** @type {?} */(options))).validators !== undefined || (( /** @type {?} */(options))).updateOn !== undefined; } let FormBuilder = /*@__PURE__*/ (() => { class FormBuilder { /** * \@description * Construct a new `FormGroup` instance. * * @param {?} controlsConfig A collection of child controls. The key for each child is the name * under which it is registered. * * @param {?=} options Configuration options object for the `FormGroup`. The object can * have two shapes: * * 1) `AbstractControlOptions` object (preferred), which consists of: * * `validators`: A synchronous validator function, or an array of validator functions * * `asyncValidators`: A single async validator or array of async validator functions * * `updateOn`: The event upon which the control should be updated (options: 'change' | 'blur' | * submit') * * 2) Legacy configuration object, which consists of: * * `validator`: A synchronous validator function, or an array of validator functions * * `asyncValidator`: A single async validator or array of async validator functions * * @return {?} */ group(controlsConfig, options = null) { /** @type {?} */ const controls = this._reduceControls(controlsConfig); /** @type {?} */ let validators = null; /** @type {?} */ let asyncValidators = null; /** @type {?} */ let updateOn = undefined; if (options != null) { if (isAbstractControlOptions(options)) { // `options` are `AbstractControlOptions` validators = options.validators != null ? options.validators : null; asyncValidators = options.asyncValidators != null ? options.asyncValidators : null; updateOn = options.updateOn != null ? options.updateOn : undefined; } else { // `options` are legacy form group options validators = options['validator'] != null ? options['validator'] : null; asyncValidators = options['asyncValidator'] != null ? options['asyncValidator'] : null; } } return new FormGroup(controls, { asyncValidators, updateOn, validators }); } /** * \@description * Construct a new `FormControl` with the given state, validators and options. * * \@usageNotes * * ### Initialize a control as disabled * * The following example returns a control with an initial value in a disabled state. * * * * @param {?} formState Initializes the control with an initial state value, or * with an object that contains both a value and a disabled status. * * @param {?=} validatorOrOpts A synchronous validator function, or an array of * such functions, or an `AbstractControlOptions` object that contains * validation functions and a validation trigger. * * @param {?=} asyncValidator A single async validator or array of async validator * functions. * * @return {?} */ control(formState, validatorOrOpts, asyncValidator) { return new FormControl(formState, validatorOrOpts, asyncValidator); } /** * Constructs a new `FormArray` from the given array of configurations, * validators and options. * * @param {?} controlsConfig An array of child controls or control configs. Each * child control is given an index when it is registered. * * @param {?=} validatorOrOpts A synchronous validator function, or an array of * such functions, or an `AbstractControlOptions` object that contains * validation functions and a validation trigger. * * @param {?=} asyncValidator A single async validator or array of async validator * functions. * @return {?} */ array(controlsConfig, validatorOrOpts, asyncValidator) { /** @type {?} */ const controls = controlsConfig.map(( /** * @param {?} c * @return {?} *//** * @param {?} c * @return {?} */ c => this._createControl(c))); return new FormArray(controls, validatorOrOpts, asyncValidator); } /** * \@internal * @param {?} controlsConfig * @return {?} */ _reduceControls(controlsConfig) { /** @type {?} */ const controls = {}; Object.keys(controlsConfig).forEach(( /** * @param {?} controlName * @return {?} *//** * @param {?} controlName * @return {?} */ controlName => { controls[controlName] = this._createControl(controlsConfig[controlName]); })); return controls; } /** * \@internal * @param {?} controlConfig * @return {?} */ _createControl(controlConfig) { if (controlConfig instanceof FormControl || controlConfig instanceof FormGroup || controlConfig instanceof FormArray) { return controlConfig; } else if (Array.isArray(controlConfig)) { /** @type {?} */ const value = controlConfig[0]; /** @type {?} */ const validator = controlConfig.length > 1 ? controlConfig[1] : null; /** @type {?} */ const asyncValidator = controlConfig.length > 2 ? controlConfig[2] : null; return this.control(value, validator, asyncValidator); } else { return this.control(controlConfig); } } } FormBuilder.ɵfac = function FormBuilder_Factory(t) { return new (t || FormBuilder)(); }; FormBuilder.ɵprov = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineInjectable */ "Rb"]({ token: FormBuilder, factory: FormBuilder.ɵfac }); return FormBuilder; })(); /** * @fileoverview added by tsickle * Generated from: packages/forms/src/version.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * \@publicApi * @type {?} */ const VERSION = /*@__PURE__*/ new _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* Version */ "T"]('9.0.7'); let FormsModule = /*@__PURE__*/ (() => { class FormsModule { } FormsModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineNgModule */ "Tb"]({ type: FormsModule }); FormsModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineInjector */ "Sb"]({ factory: function FormsModule_Factory(t) { return new (t || FormsModule)(); }, providers: [RadioControlRegistry], imports: [ɵInternalFormsSharedModule] }); return FormsModule; })(); /*@__PURE__*/ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵsetNgModuleScope */ "Qc"](FormsModule, { declarations: [NgModel, NgModelGroup, NgForm], exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm] }); })(); let ReactiveFormsModule = /*@__PURE__*/ (() => { class ReactiveFormsModule { /** * \@description * Provides options for configuring the reactive forms module. * * @param {?} opts An object of configuration options * * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel` * binding is used with reactive form directives. * @return {?} */ static withConfig(opts) { return { ngModule: ReactiveFormsModule, providers: [{ provide: NG_MODEL_WITH_FORM_CONTROL_WARNING, useValue: opts.warnOnNgModelWithFormControl }] }; } } ReactiveFormsModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineNgModule */ "Tb"]({ type: ReactiveFormsModule }); ReactiveFormsModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineInjector */ "Sb"]({ factory: function ReactiveFormsModule_Factory(t) { return new (t || ReactiveFormsModule)(); }, providers: [FormBuilder, RadioControlRegistry], imports: [ɵInternalFormsSharedModule] }); return ReactiveFormsModule; })(); /*@__PURE__*/ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵsetNgModuleScope */ "Qc"](ReactiveFormsModule, { declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName], exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName] }); })(); /** * @fileoverview added by tsickle * Generated from: packages/forms/src/forms.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: packages/forms/public_api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: packages/forms/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Generated bundle index. Do not edit. */ //# sourceMappingURL=forms.js.map /***/ }), /***/ "4I5i": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ArgumentOutOfRangeError; }); const ArgumentOutOfRangeErrorImpl = /*@__PURE__*/ (() => { function ArgumentOutOfRangeErrorImpl() { Error.call(this); this.message = 'argument out of range'; this.name = 'ArgumentOutOfRangeError'; return this; } ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype); return ArgumentOutOfRangeErrorImpl; })(); const ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl; //# sourceMappingURL=ArgumentOutOfRangeError.js.map /***/ }), /***/ "4q92": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DownloadDocumentsComponent; }); /* harmony import */ var src_app_Shared_Enum_department_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("81W+"); /* harmony import */ var src_app_Shared_Enum_order_enum__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("T5CN"); /* harmony import */ var src_app_Shared_Model_app_setting__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("GAWG"); /* harmony import */ var src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("j672"); /* harmony import */ var src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Lexf"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("fXoL"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("tyNb"); /* harmony import */ var src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("LYBR"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("sYmb"); /* harmony import */ var src_app_Shared_Service_order_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("t7Da"); /* harmony import */ var src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("qVlC"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("jhN1"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("ofXK"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("3Pt+"); /* harmony import */ var ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("hzby"); /* harmony import */ var src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("GmSP"); function DownloadDocumentsComponent_span_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1753 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](ctx_r1753.translate.currentLang != "hi" ? ctx_r1753.pageTitle == null ? null : ctx_r1753.pageTitle.NameEnglish : ctx_r1753.pageTitle == null ? null : ctx_r1753.pageTitle.NameHindi); } } function DownloadDocumentsComponent_span_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](2, 1, "Dept_Website_Links_txt")); } } function DownloadDocumentsComponent_div_15_Template(rf, ctx) { if (rf & 1) { const _r1763 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "div", 34); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "label", 35); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](4, "a", 36); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("click", function DownloadDocumentsComponent_div_15_Template_a_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵrestoreView */ "Mc"](_r1763); const ctx_r1762 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); return ctx_r1762.GetList(); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](6, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](3, 2, "DocumentType_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](6, 4, "Find_Roll_Number_txt"), " "); } } function DownloadDocumentsComponent_select_16_option_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "option", 40); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r1765 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("value", item_r1765.Value); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate1 */ "Xc"](" ", item_r1765.Text, " "); } } function DownloadDocumentsComponent_select_16_Template(rf, ctx) { if (rf & 1) { const _r1767 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "select", 37); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("ngModelChange", function DownloadDocumentsComponent_select_16_Template_select_ngModelChange_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵrestoreView */ "Mc"](_r1767); const ctx_r1766 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); return ctx_r1766.documentTypeCode = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "option", 38); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](2, "--Select--"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](3, DownloadDocumentsComponent_select_16_option_3_Template, 2, 2, "option", 39); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1756 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r1756.documentTypeCode); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r1756.ddlDownloadDocumentTypes); } } const _c0 = function () { return { containerClass: "theme-dark-blue", dateInputFormat: "YYYY-MM-DD", showWeekNumbers: false }; }; function DownloadDocumentsComponent_div_17_Template(rf, ctx) { if (rf & 1) { const _r1770 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "div", 41); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "label", 15); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](2, "Date of birth"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](3, "input", 42, 43); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("ngModelChange", function DownloadDocumentsComponent_div_17_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵrestoreView */ "Mc"](_r1770); const ctx_r1769 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); return ctx_r1769.dob = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](6, "i", 44); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("click", function DownloadDocumentsComponent_div_17_Template_i_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵrestoreView */ "Mc"](_r1770); const _r1768 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵreference */ "Kc"](4); return _r1768.toggle(); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const _r1768 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵreference */ "Kc"](4); const ctx_r1757 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](5, 4, "DateOfBirth_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r1757.dob)("bsConfig", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpureFunction0 */ "Dc"](6, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵattribute */ "Ib"]("aria-expanded", _r1768.isOpen); } } function DownloadDocumentsComponent_app_mini_loader_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function DownloadDocumentsComponent_div_30_Template(rf, ctx) { if (rf & 1) { const _r1773 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "div", 45); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](2, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](3, "h1", 48); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](4, "img", 49); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("error", function DownloadDocumentsComponent_div_30_Template_img_error_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵrestoreView */ "Mc"](_r1773); const ctx_r1772 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); return ctx_r1772._commonService.onImageError($event, "assets/images/departmental_galley.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](6, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](7); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](8, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](9, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](10, "div", 50); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](11, "a", 51); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](12, "i", 52); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](13); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](14, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](15, "div", 53); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](16, "button", 54); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("click", function DownloadDocumentsComponent_div_30_Template_button_click_16_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵrestoreView */ "Mc"](_r1773); const ctx_r1774 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); return ctx_r1774.onReset(); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](17); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](18, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1759 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("src", (ctx_r1759.pageTitle == null ? null : ctx_r1759.pageTitle.ImagePath) || "assets/images/new-gov-orders.png", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](5, 7, "DownloadDocument_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("alt", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](6, 9, "DownloadDocument_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](8, 11, "DownloadDocument_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("href", ctx_r1759.safeURL, _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](14, 13, "ViewDocument_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](18, 15, "DownloadOtherDocument_txt")); } } function DownloadDocumentsComponent_ng_container_45_tr_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "td", 55); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](3, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](5, "td", 55); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](6, "a", 56); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](7, "svg", 57); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](8, "path", 58); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](9, "path", 59); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1778 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); const i_r1776 = ctx_r1778.index; const item_r1775 = ctx_r1778.$implicit; const ctx_r1777 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate1 */ "Xc"](" ", (ctx_r1777.indexModel.Page - 1) * ctx_r1777.indexModel.PageSize + (i_r1776 + 1), " "); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](item_r1775.Title); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("href", item_r1775.AttachmentList[0] == null ? null : item_r1775.AttachmentList[0].Path, _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵsanitizeUrl */ "Pc"]); } } function DownloadDocumentsComponent_ng_container_45_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](1, DownloadDocumentsComponent_ng_container_45_tr_1_Template, 10, 3, "tr", 6); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const item_r1775 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", (item_r1775.AttachmentList[0] == null ? null : item_r1775.AttachmentList[0].Path) != null); } } function DownloadDocumentsComponent_div_46_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "h5", 61); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](3, 1, "NoRecordFound_txt")); } } let DownloadDocumentsComponent = /*@__PURE__*/ (() => { class DownloadDocumentsComponent { constructor(route, _commonService, translate, orderService, _distDeptService, sanitizer) { this.route = route; this._commonService = _commonService; this.translate = translate; this.orderService = orderService; this._distDeptService = _distDeptService; this.sanitizer = sanitizer; this.indexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_3__[/* IndexModel */ "d"](); this.orderPublicPortal = []; this.model = new src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_4__[/* OrderEntryfrontModel */ "d"](); this.groundWaterModel = new src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_4__[/* DepartmentReportFilterWiseFilterModel */ "a"](); this.documentTypeCode = ''; this.ddlDownloadDocumentTypes = []; this.documentBaseUrl = 'http://103.203.136.205/'; this.folderName = ''; this.submenuCode = 0; this.isGroundWaterDepartment = false; this.isLoading = false; this.rollNumberConfig = { // [DepartmentEnum.Khairthal_Tijara]: { min: 1061, max: 1067 }, // [DepartmentEnum.Alwar]: { min: 4001, max: 4028 }, // [DepartmentEnum.Kotputli_Behror]: { min: 1604, max: 1642 }, //[DepartmentEnum.Kotputli_Behror]: { min: 1128, max: 1198 }, [src_app_Shared_Enum_department_enum__WEBPACK_IMPORTED_MODULE_0__[/* DepartmentEnum */ "a"].Khairthal_Tijara]: [{ min: 1068, max: 1107 }], // [DepartmentEnum.Alwar]: { min: 4001, max: 4028 }, // [DepartmentEnum.Alwar]: { min: 5001 || 6001, max: 5029 || 6057 }, [src_app_Shared_Enum_department_enum__WEBPACK_IMPORTED_MODULE_0__[/* DepartmentEnum */ "a"].Alwar]: [ { min: 5001, max: 5029 }, { min: 6001, max: 6057 } ], [src_app_Shared_Enum_department_enum__WEBPACK_IMPORTED_MODULE_0__[/* DepartmentEnum */ "a"].Kotputli_Behror]: [{ min: 1128, max: 1198 }], [src_app_Shared_Enum_department_enum__WEBPACK_IMPORTED_MODULE_0__[/* DepartmentEnum */ "a"].Karauli]: [{ min: 25301, max: 25321 }], }; } ngOnInit() { this.GetDDLList(); this.folderName = this._commonService.GetLocalStorageVal('FolderName'); this.deptCode = this._commonService.GetWebDistDeptCode(); if (this.deptCode == 76) { //ground water department code. this.isGroundWaterDepartment = true; } // this.GetList(); // this.downloadFilePath = 'https://jankalyanFile.rajasthan.gov.in//Content/UploadFolder/Department/PDF/DEPTContactDetail/2022/Jan/DEPTContactDetail0ce4fce1-a0ed-4004-8f1e-d5440ebe812c.pdf'; // this.safeURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.downloadFilePath); this.route.paramMap.subscribe((params) => { this.pageTitle = undefined; let _submenuCode = params.get('submenuCode'); this.submenuCode = Number(_submenuCode || 0); this.getPageHeading(); }); } getPageHeading() { if (this.submenuCode > 0) { this.getSubmenuDetail(); } } getSubmenuDetail() { this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(res => { if (res.IsSuccess) { let submenu = res.Data; if (submenu) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_3__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = submenu.DisplayNameEnglish; this.pageTitle.NameHindi = submenu.DisplayNameHindi; this.pageTitle.ImagePath = submenu.IconImage; this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } } }, error => { }); } GetDDLList() { this._distDeptService.GetAllDDL(src_app_Shared_Model_app_setting__WEBPACK_IMPORTED_MODULE_2__[/* AppSetting */ "a"].ddlDownloadDocumentType).subscribe(data => { if (data.IsSuccess) { let ddlData = data.Data; this.ddlDownloadDocumentTypes = ddlData.ddlDownloadDocumentType; } }, error => { }); } onSearch() { debugger; this.isLoading = true; const config = this.rollNumberConfig[this.deptCode]; if (config) { if (this.documentTypeCode && this.rollNo) { var restrictedRollNo = Number(this.rollNo); const isValid = config.some(range => restrictedRollNo >= range.min && restrictedRollNo <= range.max); // if (restrictedRollNo >= config.min && restrictedRollNo <= config.max) { if (isValid) { var docType = this.ddlDownloadDocumentTypes.find(x => String(x.Value) == String(this.documentTypeCode)); if (docType) { this.downloadFilePath = this.documentBaseUrl + '/' + this.folderName + '/E_Rolls/' + docType.OtherData.Description + '/' + `${this.rollNo}` + '.pdf'; this.safeURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.downloadFilePath); //this.documentTypeCode = this.rollNo = undefined; this.isLoading = false; // this.onReset(); } } else { this.downloadFilePath = this.rollNo = undefined; this.isLoading = false; window.alert('Roll Number Not Found'); } } else { this.downloadFilePath = this.rollNo = undefined; this.isLoading = false; window.alert('Please Select Document Type & Roll Number'); } } else { if (this.isGroundWaterDepartment && this.rollNo && this.dob) { this.groundWaterModel.RollNo = this.rollNo; this.groundWaterModel.DOB = this.dob; this._distDeptService.GetDepartmentReportFilterWise(this.groundWaterModel).subscribe(data => { if (data.IsSuccess) { if (data.Data) { this.downloadFilePath = data.Data; this.safeURL = data.Data; this.isLoading = false; } else { this.downloadFilePath = this.dob = this.rollNo = undefined; this.isLoading = false; window.alert('No Record Found'); } } else { this.isLoading = false; window.alert(data.Message); } }, error => { this.isLoading = false; console.error(error.message); }); } else { if (this.documentTypeCode && this.rollNo) { var docType = this.ddlDownloadDocumentTypes.find(x => String(x.Value) == String(this.documentTypeCode)); if (docType) { this.downloadFilePath = this.documentBaseUrl + '/' + this.folderName + '/E_Rolls/' + docType.OtherData.Description + '/' + `${this.rollNo}` + '.pdf'; this.safeURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.downloadFilePath); //this.documentTypeCode = this.rollNo = undefined; this.isLoading = false; // this.onReset(); } } else { this.downloadFilePath = this.rollNo = undefined; this.isLoading = false; window.alert('Please Enter Data'); } } } // this.isLoading = false; } onReset() { this.documentTypeCode = this.rollNo = this.downloadFilePath = this.safeURL = this.dob = undefined; } GetList() { this.indexModel.PageSize = 10; this.model.IndexModel = this.indexModel; this.model.IndexModel.Page = 1; this.model.IndexModel.PageSize = 101; this.model.DepartmentCode = this._commonService.GetLocalStorageVal('websiteCode'); this.model.Type = src_app_Shared_Enum_order_enum__WEBPACK_IMPORTED_MODULE_1__[/* DownloaddocumentCodeEnum */ "b"].RecruitmentRelated; this.model.SubTypeCode = src_app_Shared_Enum_order_enum__WEBPACK_IMPORTED_MODULE_1__[/* DownloaddocumentCodeEnum */ "b"].ExaminationRollNumber; this.orderService.Get(this.model).subscribe(data => { var _a, _b; this.orderPublicPortal = []; if (data.IsSuccess) { this.orderPublicPortal = (_b = (_a = data) === null || _a === void 0 ? void 0 : _a.Data) === null || _b === void 0 ? void 0 : _b.Data; if (!this.indexModel.IsPostBack) { } } }, error => { console.error(error.message); }); } } DownloadDocumentsComponent.ɵfac = function DownloadDocumentsComponent_Factory(t) { return new (t || DownloadDocumentsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_6__[/* ActivatedRoute */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_7__[/* CommonService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__[/* TranslateService */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_order_service__WEBPACK_IMPORTED_MODULE_9__[/* OrderService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_10__[/* DptDistrictWebsiteService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_11__[/* DomSanitizer */ "b"])); }; DownloadDocumentsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdefineComponent */ "Pb"]({ type: DownloadDocumentsComponent, selectors: [["app-download-documents"]], decls: 47, vars: 23, consts: [["aria-label", "breadcrumb", 1, "breadcrumb_nav"], [1, "container", "p-0"], [1, "breadcrumb"], [1, "breadcrumb-item"], [3, "routerLink"], ["aria-current", "page", 1, "breadcrumb-item", "active"], [4, "ngIf"], [1, "inner-page", "pt-0"], [1, "orders_filter", 2, "max-width", "500px"], [1, "container-fluid"], [1, "row", "justify-content-center"], [1, "col-xl-12", "col-lg-12", "col-sm-12", "col-12", "wow", "fadeInUp"], ["class", "d-flex justify-content-between mb-3 align-items-center", 4, "ngIf"], ["class", "form-control", 3, "ngModel", "ngModelChange", 4, "ngIf"], ["class", "calendar-position", 4, "ngIf"], [1, "text-white"], ["type", "text", "placeholder", "Roll No.", 1, "form-control", 3, "ngModel", "ngModelChange"], [1, "col-xl-12", "col-lg-12", "col-sm-12", "col-12", "mt-2", "wow", "fadeInUp"], [1, "d-flex", "orders_filter-btn-grp"], [1, "btn", "btn-success", "filter-btn", "fadeInUp", 2, "border", "none", 3, "click"], [1, "fas", "fa-search", "mr-2"], ["class", "container p-4", 4, "ngIf"], ["id", "Roll-Number-Modal", "tabindex", "-1", "role", "dialog", "aria-labelledby", "WriteCMTitle", "aria-hidden", "true", 1, "modal", "fade", "modal-dsign-sm", "modal-round-design"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered", "modal-lg"], [1, "modal-content"], [1, "modal-header"], [1, "modal-title"], ["type", "button", "data-dismiss", "modal", "aria-label", "Close", 1, "close"], ["aria-hidden", "true"], [1, "modal-body"], [1, "table-responsive"], [1, "table"], [4, "ngFor", "ngForOf"], ["class", "col-lg-12", 4, "ngIf"], [1, "d-flex", "justify-content-between", "mb-3", "align-items-center"], [1, "m-0"], ["data-toggle", "modal", "data-target", "#Roll-Number-Modal", 1, "bg-danger", "text-white", "px-2", "py-1", 2, "border-radius", "13px", "cursor", "pointer", 3, "click"], [1, "form-control", 3, "ngModel", "ngModelChange"], ["value", "", "disabled", "", "selected", ""], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"], [1, "calendar-position"], ["type", "text", "bsDatepicker", "", 1, "form-control", 3, "placeholder", "ngModel", "bsConfig", "ngModelChange"], ["FromDate", "bsDatepicker"], [1, "fas", "fa-calendar-alt", "calendar-icon", 3, "click"], [1, "container", "p-4"], [1, "row"], [1, "col-xl-12", "col-lg-12", "mb-12"], [1, "title", "text-center", "mb-2"], [1, "img-fluid", "mr-10", 2, "max-width", "45px", 3, "src", "title", "alt", "error"], [1, "title", "text-center", "my-4"], ["target", "_blank", 1, "btn", "btn-success", 2, "border", "none", 3, "href"], [1, "fa", "fa-download"], [1, "d-flex", "align-items-center", "justify-content-between", "mb-3", 2, "text-decoration", "underline"], [1, "btn", "btn-link", "text-decoration-none", 2, "border", "none", 3, "click"], [2, "width", "50px"], ["target", "_blank", 3, "href"], ["xmlns", "http://www.w3.org/2000/svg", "width", "25", "height", "25", "fill", "red", "viewBox", "0 0 16 16", 1, "bi", "bi-file-earmark-pdf"], ["d", "M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z"], ["d", "M4.603 14.087a.81.81 0 0 1-.438-.42c-.195-.388-.13-.776.08-1.102.198-.307.526-.568.897-.787a7.68 7.68 0 0 1 1.482-.645 19.697 19.697 0 0 0 1.062-2.227 7.269 7.269 0 0 1-.43-1.295c-.086-.4-.119-.796-.046-1.136.075-.354.274-.672.65-.823.192-.077.4-.12.602-.077a.7.7 0 0 1 .477.365c.088.164.12.356.127.538.007.188-.012.396-.047.614-.084.51-.27 1.134-.52 1.794a10.954 10.954 0 0 0 .98 1.686 5.753 5.753 0 0 1 1.334.05c.364.066.734.195.96.465.12.144.193.32.2.518.007.192-.047.382-.138.563a1.04 1.04 0 0 1-.354.416.856.856 0 0 1-.51.138c-.331-.014-.654-.196-.933-.417a5.712 5.712 0 0 1-.911-.95 11.651 11.651 0 0 0-1.997.406 11.307 11.307 0 0 1-1.02 1.51c-.292.35-.609.656-.927.787a.793.793 0 0 1-.58.029zm1.379-1.901c-.166.076-.32.156-.459.238-.328.194-.541.383-.647.547-.094.145-.096.25-.04.361.01.022.02.036.026.044a.266.266 0 0 0 .035-.012c.137-.056.355-.235.635-.572a8.18 8.18 0 0 0 .45-.606zm1.64-1.33a12.71 12.71 0 0 1 1.01-.193 11.744 11.744 0 0 1-.51-.858 20.801 20.801 0 0 1-.5 1.05zm2.446.45c.15.163.296.3.435.41.24.19.407.253.498.256a.107.107 0 0 0 .07-.015.307.307 0 0 0 .094-.125.436.436 0 0 0 .059-.2.095.095 0 0 0-.026-.063c-.052-.062-.2-.152-.518-.209a3.876 3.876 0 0 0-.612-.053zM8.078 7.8a6.7 6.7 0 0 0 .2-.828c.031-.188.043-.343.038-.465a.613.613 0 0 0-.032-.198.517.517 0 0 0-.145.04c-.087.035-.158.106-.196.283-.04.192-.03.469.046.822.024.111.054.227.09.346z"], [1, "col-lg-12"], [1, "text-center", "red"]], template: function DownloadDocumentsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "nav", 0); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](2, "ol", 2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](3, "li", 3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](4, "a", 4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](6, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](7, "li", 5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](8, DownloadDocumentsComponent_span_8_Template, 2, 1, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](9, DownloadDocumentsComponent_span_9_Template, 3, 3, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](10, "section", 7); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](11, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](12, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](13, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](14, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](15, DownloadDocumentsComponent_div_15_Template, 7, 6, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](16, DownloadDocumentsComponent_select_16_Template, 4, 2, "select", 13); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](17, DownloadDocumentsComponent_div_17_Template, 7, 7, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](18, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](19, "label", 15); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](20); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](21, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](22, "input", 16); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("ngModelChange", function DownloadDocumentsComponent_Template_input_ngModelChange_22_listener($event) { return ctx.rollNo = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](23, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](24, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](25, "button", 19); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("click", function DownloadDocumentsComponent_Template_button_click_25_listener() { return ctx.onSearch(); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](26, "i", 20); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](27); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](28, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](29, DownloadDocumentsComponent_app_mini_loader_29_Template, 1, 0, "app-mini-loader", 6); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](30, DownloadDocumentsComponent_div_30_Template, 19, 17, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](31, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](32, "div", 23); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](33, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](34, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](35, "h5", 26); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](36); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](37, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](38, "button", 27); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](39, "span", 28); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](40, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](41, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](42, "div", 30); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](43, "table", 31); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](44, "tbody"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](45, DownloadDocumentsComponent_ng_container_45_Template, 2, 1, "ng-container", 32); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](46, DownloadDocumentsComponent_div_46_Template, 4, 3, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("routerLink", ctx._commonService.GetHomePageUrl()); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](6, 15, "Home_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](6); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isGroundWaterDepartment); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isGroundWaterDepartment); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx.isGroundWaterDepartment); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](21, 17, "RollNo_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngModel", ctx.rollNo); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](28, 19, "Downloads_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx.downloadFilePath); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](6); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](37, 21, "Find_Roll_Number_txt"), ""); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](9); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngForOf", ctx.orderPublicPortal); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx.orderPublicPortal.length == 0); } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_6__[/* RouterLinkWithHref */ "d"], _angular_common__WEBPACK_IMPORTED_MODULE_12__[/* NgIf */ "n"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__[/* DefaultValueAccessor */ "b"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__[/* NgControlStatus */ "m"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__[/* NgModel */ "p"], _angular_common__WEBPACK_IMPORTED_MODULE_12__[/* NgForOf */ "m"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__[/* SelectControlValueAccessor */ "u"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__[/* NgSelectOption */ "q"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__[/* ɵangular_packages_forms_forms_x */ "w"], ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_14__[/* BsDatepickerInputDirective */ "b"], ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_14__[/* BsDatepickerDirective */ "a"], src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_15__[/* MiniLoaderComponent */ "a"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__[/* TranslatePipe */ "c"]], styles: [".calendar-icon[_ngcontent-%COMP%]{position:absolute;top:46px;right:13px}.calendar-position[_ngcontent-%COMP%]{position:relative}"] }); return DownloadDocumentsComponent; })(); /***/ }), /***/ "5+tZ": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return mergeMap; }); /* unused harmony export MergeMapOperator */ /* unused harmony export MergeMapSubscriber */ /* unused harmony export flatMap */ /* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("lJxs"); /* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Cfvw"); /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("zx2A"); function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { if (typeof resultSelector === 'function') { return (source) => source.pipe(mergeMap((a, i) => Object(_observable_from__WEBPACK_IMPORTED_MODULE_1__[/* from */ "a"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_0__[/* map */ "a"])((b, ii) => resultSelector(a, b, i, ii))), concurrent)); } else if (typeof resultSelector === 'number') { concurrent = resultSelector; } return (source) => source.lift(new MergeMapOperator(project, concurrent)); } class MergeMapOperator { constructor(project, concurrent = Number.POSITIVE_INFINITY) { this.project = project; this.concurrent = concurrent; } call(observer, source) { return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent)); } } class MergeMapSubscriber extends _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[/* SimpleOuterSubscriber */ "b"] { constructor(destination, project, concurrent = Number.POSITIVE_INFINITY) { super(destination); this.project = project; this.concurrent = concurrent; this.hasCompleted = false; this.buffer = []; this.active = 0; this.index = 0; } _next(value) { if (this.active < this.concurrent) { this._tryNext(value); } else { this.buffer.push(value); } } _tryNext(value) { let result; const index = this.index++; try { result = this.project(value, index); } catch (err) { this.destination.error(err); return; } this.active++; this._innerSub(result); } _innerSub(ish) { const innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[/* SimpleInnerSubscriber */ "a"](this); const destination = this.destination; destination.add(innerSubscriber); const innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[/* innerSubscribe */ "c"])(ish, innerSubscriber); if (innerSubscription !== innerSubscriber) { destination.add(innerSubscription); } } _complete() { this.hasCompleted = true; if (this.active === 0 && this.buffer.length === 0) { this.destination.complete(); } this.unsubscribe(); } notifyNext(innerValue) { this.destination.next(innerValue); } notifyComplete() { const buffer = this.buffer; this.active--; if (buffer.length > 0) { this._next(buffer.shift()); } else if (this.active === 0 && this.hasCompleted) { this.destination.complete(); } } } const flatMap = mergeMap; //# sourceMappingURL=mergeMap.js.map /***/ }), /***/ "56/0": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./src/app/Shared/Model/app-setting.ts var app_setting = __webpack_require__("GAWG"); // CONCATENATED MODULE: ./src/app/Shared/Enum/user-type.enum.ts var UserTypeEnum = /*@__PURE__*/ (function (UserTypeEnum) { UserTypeEnum["Administrator"] = "ADM"; UserTypeEnum["Minister"] = "MNSTR"; UserTypeEnum["CMOOfficer"] = "CMOO"; UserTypeEnum["CMOStaff"] = "CMOS"; UserTypeEnum["DivisionalCommissioner"] = "DCOM"; UserTypeEnum["Collector"] = "COLL"; UserTypeEnum["BDO"] = "BDO"; UserTypeEnum["Tehsildar"] = "TEHDR"; UserTypeEnum["Minister_MLA_MP"] = "MLAMP"; UserTypeEnum["TopLevelOfficer"] = "TLO"; UserTypeEnum["DepartmentNodalOfficer"] = "DPTO"; UserTypeEnum["DepartmentOfficer"] = "DPTS"; UserTypeEnum["DistrictNodalOfficer"] = "DLO"; UserTypeEnum["DistrictLevelOfficer"] = "DLS"; UserTypeEnum["BlockLevelOfficer"] = "BLO"; UserTypeEnum["SuperAdministrator"] = "SADM"; return UserTypeEnum; })({}); // EXTERNAL MODULE: ./src/app/Shared/Model/dictionary.ts var dictionary = __webpack_require__("ADQb"); // EXTERNAL MODULE: ./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js + 4 modules var core = __webpack_require__("fXoL"); // EXTERNAL MODULE: ./src/app/Shared/Service/base.service.ts var base_service = __webpack_require__("MLVi"); // CONCATENATED MODULE: ./src/app/Shared/Service/department-profile.service.ts /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return department_profile_service_DepartmentProfileService; }); let department_profile_service_DepartmentProfileService = /*@__PURE__*/ (() => { class DepartmentProfileService { constructor(_baseService) { this._baseService = _baseService; } GetList(model, excludeEntryType = 0, isBase64Files = false) { return this._baseService.post(app_setting["a" /* AppSetting */].GetDepartmentProfileListurl + "?excludeEntryType=" + excludeEntryType + "&isBase64Files=" + isBase64Files, model); } GetOtherLinkList(catCode) { return this._baseService.get(app_setting["a" /* AppSetting */].GetOtherLinkListurl + catCode); } GetContactList(model) { return this._baseService.post(app_setting["a" /* AppSetting */].GetDepartmentContactListurl, model); } GetUserContactList(model) { model.UserType = UserTypeEnum.DepartmentNodalOfficer + "," + UserTypeEnum.DistrictNodalOfficer; return this._baseService.post(app_setting["a" /* AppSetting */].GetAllUserDetailListurl, model); } GetAndSetVisitorCount(DepartmentCode) { return this._baseService.get(app_setting["a" /* AppSetting */].GetAndSetVisitorCount + DepartmentCode); } GetById(id) { } GetPrabhariMantriDetail(deptCode) { return this._baseService.get(app_setting["a" /* AppSetting */].GetPrabhariMantriDetailUrl + deptCode); } GetDepartmentPageDetail(deptCode, lookupCode, pageCode) { const param = new dictionary["a" /* Dictionary */](); param.Add("deptCode", deptCode); param.Add("lookupCode", lookupCode); param.Add("pageCode", pageCode); return this._baseService.get(app_setting["a" /* AppSetting */].GetDepartmentPageDetailUrl, param); } GetIsAuthenticationRequired(deptCode, lookupCode, pageCode) { const param = new dictionary["a" /* Dictionary */](); param.Add("deptCode", deptCode); param.Add("lookupCode", lookupCode); param.Add("pageCode", pageCode); return this._baseService.get(app_setting["a" /* AppSetting */].GetIsAuthenticationRequiredUrl, param); } } DepartmentProfileService.ɵfac = function DepartmentProfileService_Factory(t) { return new (t || DepartmentProfileService)(core["ec" /* ɵɵinject */](base_service["a" /* BaseService */])); }; DepartmentProfileService.ɵprov = core["Rb" /* ɵɵdefineInjectable */]({ token: DepartmentProfileService, factory: DepartmentProfileService.ɵfac, providedIn: 'root' }); return DepartmentProfileService; })(); /***/ }), /***/ "5TL6": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return JankalyanCategoryAndEntryTypeComponent; }); /* harmony import */ var src_app_Shared_Enum_jankalyan_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9h9k"); /* harmony import */ var src_app_Shared_Enum_order_enum__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("T5CN"); /* harmony import */ var src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("j672"); /* harmony import */ var src_app_Shared_Model_department_view_model_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("MZWM"); /* harmony import */ var src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Lexf"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("AytR"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("fXoL"); /* harmony import */ var src_app_Shared_Service_department_profile_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("56/0"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("sYmb"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("jhN1"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("tyNb"); /* harmony import */ var src_app_Shared_Service_order_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("t7Da"); /* harmony import */ var src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("LYBR"); /* harmony import */ var src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("qVlC"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("ofXK"); /* harmony import */ var src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("GmSP"); /* harmony import */ var src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("/9+q"); /* harmony import */ var ngx_pagination__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("oOf3"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("3Pt+"); function JankalyanCategoryAndEntryTypeComponent_span_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1663 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](ctx_r1663.translate.currentLang != "hi" ? ctx_r1663.pageTitle == null ? null : ctx_r1663.pageTitle.NameEnglish : ctx_r1663.pageTitle == null ? null : ctx_r1663.pageTitle.NameHindi); } } function JankalyanCategoryAndEntryTypeComponent_span_10_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function JankalyanCategoryAndEntryTypeComponent_span_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1665 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](ctx_r1665.translate.currentLang != "hi" ? ctx_r1665.pageTitle == null ? null : ctx_r1665.pageTitle.NameEnglish : ctx_r1665.pageTitle == null ? null : ctx_r1665.pageTitle.NameHindi); } } function JankalyanCategoryAndEntryTypeComponent_span_15_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function JankalyanCategoryAndEntryTypeComponent_section_16_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 25); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](2, "img", 26); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1671 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", ctx_r1671.dataModel == null ? null : ctx_r1671.dataModel.ImageURL, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r1671.pageTitle ? ctx_r1671.translate.currentLang != "hi" ? ctx_r1671.pageTitle == null ? null : ctx_r1671.pageTitle.NameEnglish : ctx_r1671.pageTitle == null ? null : ctx_r1671.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r1671.pageTitle ? ctx_r1671.translate.currentLang != "hi" ? ctx_r1671.pageTitle == null ? null : ctx_r1671.pageTitle.NameEnglish : ctx_r1671.pageTitle == null ? null : ctx_r1671.pageTitle.NameHindi : " "); } } function JankalyanCategoryAndEntryTypeComponent_section_16_div_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 27); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "i", 28); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1672 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 2, "ShowPDF_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("href", ctx_r1672.dataModel == null ? null : ctx_r1672.dataModel.PDFURL, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); } } function JankalyanCategoryAndEntryTypeComponent_section_16_div_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "div", 30); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](2, "p", 31); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1673 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("innerHTML", ctx_r1673.translate.currentLang == "hi" ? (ctx_r1673.dataModel == null ? null : ctx_r1673.dataModel.DetailsInHindi) ? ctx_r1673.sanitizer.bypassSecurityTrustHtml(ctx_r1673.dataModel == null ? null : ctx_r1673.dataModel.DetailsInHindi) : ctx_r1673.sanitizer.bypassSecurityTrustHtml(ctx_r1673.dataModel == null ? null : ctx_r1673.dataModel.Details) : ctx_r1673.sanitizer.bypassSecurityTrustHtml(ctx_r1673.dataModel == null ? null : ctx_r1673.dataModel.Details), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeHtml */ "Nc"]); } } function JankalyanCategoryAndEntryTypeComponent_section_16_iframe_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](0, "iframe", 32); } if (rf & 2) { const ctx_r1674 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("src", ctx_r1674.dataModel == null ? null : ctx_r1674.dataModel.PDFURL, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeResourceUrl */ "Oc"]); } } function JankalyanCategoryAndEntryTypeComponent_section_16_div_10_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](1, "iframe", 34); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1675 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("src", ctx_r1675.dataModel.url, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeResourceUrl */ "Oc"]); } } function JankalyanCategoryAndEntryTypeComponent_section_16_div_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 35); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 36); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "svg", 37); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "path", 38); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1676 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("href", ctx_r1676.dataModel == null ? null : ctx_r1676.dataModel.url, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](5, 2, "ViewMore_txt"), " "); } } function JankalyanCategoryAndEntryTypeComponent_section_16_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "section", 14); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "div", 15); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](3, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](4, JankalyanCategoryAndEntryTypeComponent_section_16_div_4_Template, 3, 3, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](6, JankalyanCategoryAndEntryTypeComponent_section_16_div_6_Template, 4, 4, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](7, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, JankalyanCategoryAndEntryTypeComponent_section_16_div_8_Template, 3, 1, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](9, JankalyanCategoryAndEntryTypeComponent_section_16_iframe_9_Template, 1, 1, "iframe", 21); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](10, JankalyanCategoryAndEntryTypeComponent_section_16_div_10_Template, 2, 1, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](11, JankalyanCategoryAndEntryTypeComponent_section_16_div_11_Template, 6, 4, "div", 23); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1667 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r1667.dataModel == null ? null : ctx_r1667.dataModel.ImageURL); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx_r1667.dataModel == null ? null : ctx_r1667.dataModel.DataTypeCode) != ctx_r1667.entryDataType.PDF && (ctx_r1667.dataModel == null ? null : ctx_r1667.dataModel.PDFURL)); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r1667.dataModel == null ? null : ctx_r1667.dataModel.Details); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx_r1667.dataModel == null ? null : ctx_r1667.dataModel.DataTypeCode) == ctx_r1667.entryDataType.PDF); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r1667.dataModel && ctx_r1667.dataModel.DataTypeCode == ctx_r1667.entryDataType.IFrame); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx_r1667.dataModel == null ? null : ctx_r1667.dataModel.DataTypeCode) == ctx_r1667.entryDataType.URL); } } function JankalyanCategoryAndEntryTypeComponent_app_mini_loader_17_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function JankalyanCategoryAndEntryTypeComponent_app_no_records_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](0, "app-no-records", 39); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("showImage", true); } } function JankalyanCategoryAndEntryTypeComponent_section_19_h1_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "h1", 59); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1677 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate2 */ "Yc"](" ", ctx_r1677.translate.currentLang != "en" ? ctx_r1677.JankalyanEntrymodel == null ? null : ctx_r1677.JankalyanEntrymodel.DocumentTypeNameHindi : ctx_r1677.JankalyanEntrymodel == null ? null : ctx_r1677.JankalyanEntrymodel.DocumentTypeName, " - ", ctx_r1677.translate.currentLang != "en" ? ctx_r1677.JankalyanEntrymodel == null ? null : ctx_r1677.JankalyanEntrymodel.DocumenSubTypeNameNameHindi : ctx_r1677.JankalyanEntrymodel == null ? null : ctx_r1677.JankalyanEntrymodel.DocumenSubTypeName, " "); } } function JankalyanCategoryAndEntryTypeComponent_section_19_ng_container_24_span_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "strong", 48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](4, " / "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 1, "OrderNo_txt"), " "); } } function JankalyanCategoryAndEntryTypeComponent_section_19_ng_container_24_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, JankalyanCategoryAndEntryTypeComponent_section_19_ng_container_24_span_1_Template, 5, 3, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r1678 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx_r1678.orderPublicPortal[0] == null ? null : ctx_r1678.orderPublicPortal[0].TypeDocumentNoMandatory) == ctx_r1678.orderValDocEnum.Yes); } } function JankalyanCategoryAndEntryTypeComponent_section_19_ng_template_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](3, " / "); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "OrderNo_txt"), " "); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "strong", 48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const item_r1684 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r1687 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r1687.translate.currentLang != "en" ? item_r1684.TypeNameHindi : item_r1684.TypeName, " "); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ng_template_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1, "N/A"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ng_container_10_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const item_r1684 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r1690 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r1690.translate.currentLang != "en" ? item_r1684.SubTypeNameHindi : item_r1684.SubTypeName, " "); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ng_template_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1, "N/A"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_strong_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r1684 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", item_r1684.OrderNo, " "); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_25_ng_container_1_li_1_span_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const i_r1701 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2).index; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](i_r1701 + 1); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_25_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "li", 69); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 70); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "i", 71); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](6, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_25_ng_container_1_li_1_span_6_Template, 2, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const attachment_r1700 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; const item_r1684 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2).$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", attachment_r1700.Path, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](5, 3, "Downloads_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r1684.AttachmentList.length > 1); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_25_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_25_ng_container_1_li_1_Template, 7, 5, "li", 68); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const attachment_r1700 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", attachment_r1700.Path || undefined != undefined && attachment_r1700.IsAnnexure == false); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "ul", 66); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_25_ng_container_1_Template, 2, 1, "ng-container", 67); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r1684 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", item_r1684.AttachmentList); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_ng_container_1_li_1_span_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const i_r1710 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2).index; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](i_r1710 + 1); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { const _r1716 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "li", 69); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 72); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("click", function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_ng_container_1_li_1_Template_a_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r1716); const attachment_r1709 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; const group_r1686 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2).$implicit; const ctx_r1714 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); return ctx_r1714.onDownload(attachment_r1709.Path, group_r1686.Id); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "i", 71); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](6, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_ng_container_1_li_1_span_6_Template, 2, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r1684 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](3).$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](5, 2, "Downloads_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r1684.AttachmentList.length > 1); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_ng_container_1_li_1_Template, 7, 4, "li", 68); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const attachment_r1709 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", attachment_r1709.Path || undefined != undefined && attachment_r1709.IsAnnexure == true); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "ul", 66); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_ng_container_1_Template, 2, 1, "ng-container", 67); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r1684 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", item_r1684.AttachmentList); } } function JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "tr", 60); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](3, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](5, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ng_container_5_Template, 3, 1, "ng-container", 51); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](6, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ng_template_6_Template, 2, 0, "ng-template", null, 61, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](8, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](9, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](10, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ng_container_10_Template, 2, 1, "ng-container", 51); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](11, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ng_template_11_Template, 2, 0, "ng-template", null, 62, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](13, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](14, "strong", 49); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](15); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](16, "date"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](17, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](18, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_strong_18_Template, 2, 1, "strong", 63); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](19, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](20, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](21); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](22, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](23); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](24, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](25, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_25_Template, 2, 1, "ul", 64); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](26, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_ul_26_Template, 2, 1, "ul", 64); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](27, "a", 65); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](28); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](29, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r1684 = ctx.$implicit; const i_r1685 = ctx.index; const group_r1686 = ctx.$implicit; const _r1688 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](7); const _r1691 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](12); const ctx_r1681 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", (ctx_r1681.orderFilterModel.IndexModel.Page - 1) * ctx_r1681.orderFilterModel.IndexModel.PageSize + (i_r1685 + 1), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r1684.TypeName || item_r1684.TypeNameHindi)("ngIfElse", _r1688); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r1684.SubTypeName || item_r1684.SubTypeNameHindi)("ngIfElse", _r1691); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind2 */ "pc"](16, 13, item_r1684.Date, ctx_r1681.DateFormat)); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r1684.TypeDocumentNoMandatory == ctx_r1681.orderValDocEnum.Yes); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](item_r1684.Title); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r1681.translate.currentLang != "en" ? item_r1684.DepartmentTitleHindi ? item_r1684.DepartmentTitleHindi : item_r1684.DepartmentTitle : item_r1684.DepartmentTitle, " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r1684.AttachmentList.length > 0 && item_r1684.IsOldOrder == true && item_r1684.IsAnnexure == false); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r1684.AttachmentList.length > 0 && item_r1684.IsOldOrder == false && item_r1684.IsAnnexure == true); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate1 */ "vc"]("routerLink", "/order/detail/", group_r1686.Id, ""); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](29, 16, "ViewDetail_txt")); } } function JankalyanCategoryAndEntryTypeComponent_section_19_select_40_Template(rf, ctx) { if (rf & 1) { const _r1721 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "select", 73); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("change", function JankalyanCategoryAndEntryTypeComponent_section_19_select_40_Template_select_change_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r1721); const ctx_r1720 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); return ctx_r1720.changePageSize($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "option", 74); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "option", 75); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](5, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](6, "option", 76); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](7, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](8, "option", 77); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](9, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](10, "option", 78); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](11, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1682 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("value", ctx_r1682.totalRecords); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 2, "All_txt")); } } function JankalyanCategoryAndEntryTypeComponent_section_19_Template(rf, ctx) { if (rf & 1) { const _r1723 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "section", 40); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "div", 41); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](3, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](4, JankalyanCategoryAndEntryTypeComponent_section_19_h1_4_Template, 2, 2, "h1", 43); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "div", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](6, "table", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](7, "thead"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](8, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](9, "th", 46); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](11, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](12, "th", 47); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](13, "strong", 48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](14); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](15, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](16, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](17); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](18, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](19, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](20, "strong", 49); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](21); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](22, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](23, "th", 50); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](24, JankalyanCategoryAndEntryTypeComponent_section_19_ng_container_24_Template, 2, 1, "ng-container", 51); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](25, JankalyanCategoryAndEntryTypeComponent_section_19_ng_template_25_Template, 4, 3, "ng-template", null, 52, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](27, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](28, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](29); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](30, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](31, "th", 53); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](32); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](33, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](34, "th", 54); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](35); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](36, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](37, "tbody"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](38, JankalyanCategoryAndEntryTypeComponent_section_19_tr_38_Template, 30, 18, "tr", 55); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](39, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](40, JankalyanCategoryAndEntryTypeComponent_section_19_select_40_Template, 12, 4, "select", 57); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](41, "pagination-controls", 58); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("pageChange", function JankalyanCategoryAndEntryTypeComponent_section_19_Template_pagination_controls_pageChange_41_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r1723); const ctx_r1722 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r1722.getNextPageRecord($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](42, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](43, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const _r1679 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](26); const ctx_r1670 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx_r1670.JankalyanEntrymodel == null ? null : ctx_r1670.JankalyanEntrymodel.DocumentTypeName) && (ctx_r1670.JankalyanEntrymodel == null ? null : ctx_r1670.JankalyanEntrymodel.DocumenSubTypeNameNameHindi)); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](11, 14, "SrNo_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](15, 16, "Type_txt"), " / "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](18, 18, "SubType_txt"), " / "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](22, 20, "DateofIssue_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r1670.orderFilterModel.Type > 0)("ngIfElse", _r1679); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](30, 22, "Title_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](33, 24, "Department_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](36, 26, "Documents_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r1670.orderPublicPortal); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r1670.totalRecords > (ctx_r1670.orderFilterModel == null ? null : ctx_r1670.orderFilterModel.IndexModel == null ? null : ctx_r1670.orderFilterModel.IndexModel.PageSize)); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("previousLabel", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](42, 28, "Previous_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("nextLabel", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](43, 30, "Next_txt")); } } let JankalyanCategoryAndEntryTypeComponent = /*@__PURE__*/ (() => { class JankalyanCategoryAndEntryTypeComponent { constructor(departmentProfile, translate, sanitizer, _route, orderService, commonService, _distDeptService) { this.departmentProfile = departmentProfile; this.translate = translate; this.sanitizer = sanitizer; this._route = _route; this.orderService = orderService; this.commonService = commonService; this._distDeptService = _distDeptService; this.dataModel = new src_app_Shared_Model_department_view_model_model__WEBPACK_IMPORTED_MODULE_3__[/* DepartmentProfileViewModel */ "d"](); this.departmentProfileFilterModel = new src_app_Shared_Model_department_view_model_model__WEBPACK_IMPORTED_MODULE_3__[/* DepartmentProfileFilterModel */ "c"](); this.departmentRecordsExist = false; this.departmentProfileTotalRecords = 0; this.totalRecords = 0; this.DateFormat = src_environments_environment__WEBPACK_IMPORTED_MODULE_5__[/* environment */ "a"].DateFormat; this.orderValDocEnum = src_app_Shared_Enum_order_enum__WEBPACK_IMPORTED_MODULE_1__[/* OrderTypeValidationForDocNoEnum */ "f"]; this.orderPublicPortal = []; this.orderFilterModel = new src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_4__[/* OrderEntryfrontModel */ "d"](); this.entryDataType = src_app_Shared_Enum_jankalyan_enum__WEBPACK_IMPORTED_MODULE_0__[/* SingleEntryDataType */ "e"]; this.departmentProfilePagerConfig = { id: "departmentProfile-paging", itemsPerPage: this.departmentProfileFilterModel.IndexModel.PageSize, currentPage: this.departmentProfileFilterModel.IndexModel.Page, totalItems: this.departmentProfileTotalRecords }; this.IsLoading = true; this.submenuCode = 0; } ngOnInit() { //:deptCode/:catCode/:entryTypeCode/:lookupCode this._route.paramMap.subscribe((params) => { var _a, _b; this.pageTitle = undefined; let _submenuCode = params.get("submenuCode"); this.submenuCode = Number(_submenuCode || 0); let deptCode = this.commonService.GetWebDistDeptCode(); let param_deptCode = params.get("deptCode"); //if (param_deptCode) { deptCode = Number(param_deptCode); } // this.orderFilterModel.DepartmentCode = deptCode; // this.departmentProfileFilterModel.DepartmentCode = deptCode; this.orderFilterModel.DepartmentCode = (param_deptCode !== null && param_deptCode !== void 0 ? param_deptCode : deptCode); this.departmentProfileFilterModel.DepartmentCode = (param_deptCode !== null && param_deptCode !== void 0 ? param_deptCode : deptCode); let param_catCode = params.get("catCode"); this.departmentProfileFilterModel.JankalyanCategoryCode = (param_catCode !== null && param_catCode !== void 0 ? param_catCode : 0); this.departmentProfileFilterModel.EntryTypeCode = (_a = params.get("entryTypeCode"), (_a !== null && _a !== void 0 ? _a : 0)); this.departmentProfileFilterModel.LookupCode = (_b = params.get("lookupCode"), (_b !== null && _b !== void 0 ? _b : 0)); if (param_catCode == src_app_Shared_Enum_jankalyan_enum__WEBPACK_IMPORTED_MODULE_0__[/* JankalyanCategoryEnum */ "b"].GIGWGuidelinesCode || param_catCode == src_app_Shared_Enum_jankalyan_enum__WEBPACK_IMPORTED_MODULE_0__[/* JankalyanCategoryEnum */ "b"].WebsitePolicyCode) { this.departmentProfileFilterModel.DepartmentCode = deptCode; } this.getPageHeading(); this.getDepartmentProfileListData(); }); } getPageHeading() { if (this.submenuCode && this.submenuCode > 0) { this.getSubmenuDetail(); } else { setTimeout(() => { this.getEntryTypeDetail(); }, 10); } } getSubmenuDetail() { this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(res => { if (res.IsSuccess) { let submenu = res.Data; if (submenu) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_2__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = submenu.DisplayNameEnglish; this.pageTitle.NameHindi = submenu.DisplayNameHindi; this.pageTitle.ImagePath = submenu.IconImage; this.commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } } }, error => { }); } getEntryTypeDetail() { this.orderPublicPortal = []; this.IsLoading = true; this.JankalyanEntrymodel = undefined; if (this.departmentProfileFilterModel.EntryTypeCode) { this._distDeptService.GetJankalyanEntryTypeDetail(Number(this.departmentProfileFilterModel.EntryTypeCode)).subscribe(res => { if (res.IsSuccess) { let cat = res.Data; this.JankalyanEntrymodel = res.Data; if (cat) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_2__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = cat.SubMenuNameEnglish; this.pageTitle.NameHindi = cat.SubMenuNameHindi; this.commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); if (this.JankalyanEntrymodel.GovernmentDocumentTypeCode && this.JankalyanEntrymodel.GovernmentDocumentSubTypeCode) { this.GetGovDocList(); } if (Number(this.departmentProfileFilterModel.LookupCode) > 0) { this.getLookupTypeDetail(); } } } }, error => { console.error(error); }); } } getLookupTypeDetail() { this._distDeptService.GetJankalyanLookupTypeDetail(Number(this.departmentProfileFilterModel.LookupCode)).subscribe(res => { if (res.IsSuccess) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_2__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = res.Data.Lookup; this.pageTitle.NameHindi = res.Data.NameHindi; this.commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } }, error => { console.error(error); }); } getDepartmentProfileListData() { this.IsLoading = true; this.dataModel = undefined; this.departmentProfileFilterModel.IndexModel.PageSize = 1; this.departmentProfile.GetList(this.departmentProfileFilterModel).subscribe(data => { var _a, _b, _c, _d, _e, _f, _g, _h; if (data.IsSuccess) { this.departmentProfileModel = (_b = (_a = data) === null || _a === void 0 ? void 0 : _a.Data) === null || _b === void 0 ? void 0 : _b.Data; if (this.departmentProfileModel && this.departmentProfileModel.length == 1) { this.dataModel = this.departmentProfileModel[0]; if (this.submenuCode == 0) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_2__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = this.pageTitle.NameEnglish ? this.pageTitle.NameEnglish : this.dataModel.EntryTypeName; this.pageTitle.NameHindi = this.pageTitle.NameHindi ? this.pageTitle.NameHindi : this.dataModel.EntryTypeNameHindi; this.pageTitle.ImagePath = this.pageTitle.ImagePath ? this.pageTitle.ImagePath : this.dataModel.ImageURL; } if (this.dataModel.PDFURL) { this.dataModel.PDFURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.dataModel.PDFURL); } if (((_c = this.dataModel) === null || _c === void 0 ? void 0 : _c.DataTypeCode) == this.entryDataType.URL && !((_d = this.dataModel) === null || _d === void 0 ? void 0 : _d.Details)) { window.open((_e = this.dataModel) === null || _e === void 0 ? void 0 : _e.url, "_blank"); //window.location.href = this.dataModel?.url; this.commonService.gotoPreviousPage(); } if (((_f = this.dataModel) === null || _f === void 0 ? void 0 : _f.DataTypeCode) == this.entryDataType.IFrame && this.dataModel.url) { this.dataModel.url = this.sanitizer.bypassSecurityTrustResourceUrl(this.dataModel.url); } } else { this.dataModel = new src_app_Shared_Model_department_view_model_model__WEBPACK_IMPORTED_MODULE_3__[/* DepartmentProfileViewModel */ "d"](); } if (!this.departmentProfileFilterModel.IndexModel.IsPostBack) { this.departmentProfileTotalRecords = ((_h = (_g = data) === null || _g === void 0 ? void 0 : _g.Data) === null || _h === void 0 ? void 0 : _h.TotalRecords) || 0; } this.departmentProfileUpdatePageConfig(); } else { this.dataModel = {}; } this.IsLoading = false; }, error => { this.dataModel = {}; this.IsLoading = false; //console.error(error.message); }); } departmentProfileGetNextPageRecord(page) { this.departmentProfileFilterModel.IndexModel.IsPostBack = true; this.departmentProfileFilterModel.IndexModel.Page = page; this.getDepartmentProfileListData(); } departmentProfileChangePageSize(value) { this.departmentProfileFilterModel.IndexModel.IsPostBack = true; this.departmentProfileFilterModel.IndexModel.PageSize = Number(value); this.departmentProfileFilterModel.IndexModel.Page = 1; this.getDepartmentProfileListData(); } departmentProfileUpdatePageConfig() { this.departmentProfilePagerConfig.itemsPerPage = this.departmentProfileFilterModel.IndexModel.PageSize; this.departmentProfilePagerConfig.currentPage = this.departmentProfileFilterModel.IndexModel.Page; this.departmentProfilePagerConfig.totalItems = this.departmentProfileTotalRecords; } onDownload(url, orderNo) { if (url || "" != "") { var newWin = open("'url'", "_blank"); newWin.document.write(''); } } GetGovDocList() { //this.orderFilterModel.IndexModel = new IndexModel(); this.orderFilterModel.IndexModel.Page = 1; this.orderFilterModel.IndexModel.PageSize = 10; this.orderFilterModel.Type = this.JankalyanEntrymodel.GovernmentDocumentTypeCode; this.orderFilterModel.SubTypeCode = this.JankalyanEntrymodel.GovernmentDocumentSubTypeCode; this.orderService.Get(this.orderFilterModel).subscribe(data => { var _a, _b, _c, _d; this.orderPublicPortal = []; if (data.IsSuccess) { this.orderPublicPortal = (_b = (_a = data) === null || _a === void 0 ? void 0 : _a.Data) === null || _b === void 0 ? void 0 : _b.Data; if (!this.orderFilterModel.IndexModel.IsPostBack) { this.totalRecords = (_d = (_c = data) === null || _c === void 0 ? void 0 : _c.Data) === null || _d === void 0 ? void 0 : _d.TotalRecords; } } else { this.totalRecords = 0; } }, error => { console.error(error.message); }); } //#region paging getNextPageRecord(page) { window.scroll(0, 0); this.orderFilterModel.IndexModel.IsPostBack = true; this.orderFilterModel.IndexModel.Page = page; this.GetGovDocList(); } changePageSize(value) { window.scroll(0, 0); this.orderFilterModel.IndexModel.IsPostBack = true; this.orderFilterModel.IndexModel.PageSize = Number(value); this.orderFilterModel.IndexModel.Page = 1; this.GetGovDocList(); } } JankalyanCategoryAndEntryTypeComponent.ɵfac = function JankalyanCategoryAndEntryTypeComponent_Factory(t) { return new (t || JankalyanCategoryAndEntryTypeComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_department_profile_service__WEBPACK_IMPORTED_MODULE_7__[/* DepartmentProfileService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__[/* TranslateService */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_9__[/* DomSanitizer */ "b"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_10__[/* ActivatedRoute */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_order_service__WEBPACK_IMPORTED_MODULE_11__[/* OrderService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_12__[/* CommonService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_13__[/* DptDistrictWebsiteService */ "a"])); }; JankalyanCategoryAndEntryTypeComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdefineComponent */ "Pb"]({ type: JankalyanCategoryAndEntryTypeComponent, selectors: [["app-jankalyan-category-and-entry-type"]], decls: 20, vars: 15, consts: [["id", "sticky-anchor"], ["aria-label", "breadcrumb", 1, "breadcrumb_nav"], [1, "container", "p-0"], [1, "breadcrumb"], [1, "breadcrumb-item"], [3, "routerLink"], ["aria-current", "page", 1, "breadcrumb-item", "active"], [4, "ngIf"], [1, "col-lg-12", "mt-5"], [1, "title", "text-center", "mb-1"], [1, "img-fluid", 3, "src", "title", "alt"], ["class", "inner-p age page-about page-editor-entry-design", 4, "ngIf"], [3, "showImage", 4, "ngIf"], ["class", "order-list", 4, "ngIf"], [1, "inner-p", "age", "page-about", "page-editor-entry-design"], [1, "container"], [1, "row"], [1, "col-lg-11", "right"], ["class", "page-file-download", 4, "ngIf"], [1, "col-lg-1", "left"], ["class", "col-lg-12", 4, "ngIf"], ["class", "pdf-Viewer", 3, "src", 4, "ngIf"], ["class", "col-lg-12 mb-4", 4, "ngIf"], ["class", "title text-center my-4", 4, "ngIf"], [1, "page-file-download"], ["target", "_blank", 1, "page-file-download-btn", 3, "href"], ["src", "assets/images/departmental_galley.png", 1, "img-fluid", 2, "max-width", "45px", 3, "title", "alt"], ["target", "_blank", 1, "page-file-download-btn", 3, "title", "href"], [1, "fas", "fa-file-pdf"], [1, "col-lg-12"], [1, "about-yajona-text"], [2, "text-align", "justify !important", 3, "innerHTML"], [1, "pdf-Viewer", 3, "src"], [1, "col-lg-12", "mb-4"], [1, "dpt-profile-iframe", 3, "src"], [1, "title", "text-center", "my-4"], ["target", "_blank", 1, "btn-link-big", 2, "border", "none", 3, "href"], ["xmlns", "http://www.w3.org/2000/svg", "width", "40", "height", "40", "fill", "#0074f1", "viewBox", "0 0 16 16", 1, "mr-2"], ["d", "M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4a9.267 9.267 0 0 1 .64-1.539 6.7 6.7 0 0 1 .597-.933A7.025 7.025 0 0 0 2.255 4H4.09zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a6.958 6.958 0 0 0-.656 2.5h2.49zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5H4.847zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5H4.51zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5zM5.145 12c.138.386.295.744.468 1.068.552 1.035 1.218 1.65 1.887 1.855V12H5.145zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11a13.652 13.652 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5H3.82zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855.173-.324.33-.682.468-1.068H8.5zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5a6.959 6.959 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5h2.49zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4a7.966 7.966 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4h2.355z"], [3, "showImage"], [1, "order-list"], [1, "container-fluid"], [1, "col-xl-12"], ["class", "title text-center", 4, "ngIf"], [1, "table-responsive"], [1, "table", "table-striped", "table-bordered", "table-new-design"], ["width", "80"], ["width", "30%"], [1, "badge", "badge-info"], [1, "text-orange"], ["width", "45%"], [4, "ngIf", "ngIfElse"], ["elseHeader", ""], ["width", "15%"], ["width", "200"], ["class", "hovercolor", 4, "ngFor", "ngForOf"], [1, "new-pagination-outer"], ["name", "example_length", "aria-controls", "example", "class", "form-control-sm", "style", "width:70px;", 3, "change", 4, "ngIf"], ["autoHide", "true", 1, "w-100", "text-center", "mt-4", 3, "previousLabel", "nextLabel", "pageChange"], [1, "title", "text-center"], [1, "hovercolor"], ["blankTypeName", ""], ["blankSTypeName", ""], ["class", "badge badge-info", 4, "ngIf"], ["class", "image-list", 4, "ngIf"], ["title", "detail", 1, "btn_detail", 3, "routerLink"], [1, "image-list"], [4, "ngFor", "ngForOf"], ["class", "", 4, "ngIf"], [1, ""], ["target", "_blank", 1, "btn", "btn-info", "btn-pdf", "pdfbtn", 3, "href"], [1, "fas", "fa-file-pdf", "mr-1"], ["href", "javascript:void(0);", 1, "btn", "btn-info", "btn-pdf", "pdfbtn", 3, "click"], ["name", "example_length", "aria-controls", "example", 1, "form-control-sm", 2, "width", "70px", 3, "change"], [3, "value"], ["selected", "", "value", "10"], ["value", "25"], ["value", "50"], ["value", "100"]], template: function JankalyanCategoryAndEntryTypeComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "nav", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](3, "ol", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "li", 4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "a", 5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](8, "li", 6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](9, JankalyanCategoryAndEntryTypeComponent_span_9_Template, 2, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](10, JankalyanCategoryAndEntryTypeComponent_span_10_Template, 2, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](11, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](12, "h1", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](13, "img", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](14, JankalyanCategoryAndEntryTypeComponent_span_14_Template, 2, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](15, JankalyanCategoryAndEntryTypeComponent_span_15_Template, 2, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](16, JankalyanCategoryAndEntryTypeComponent_section_16_Template, 12, 6, "section", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](17, JankalyanCategoryAndEntryTypeComponent_app_mini_loader_17_Template, 1, 0, "app-mini-loader", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](18, JankalyanCategoryAndEntryTypeComponent_app_no_records_18_Template, 1, 1, "app-no-records", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](19, JankalyanCategoryAndEntryTypeComponent_section_19_Template, 44, 32, "section", 13); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("routerLink", ctx.commonService.GetHomePageUrl()); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 13, "Home_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("src", (ctx.pageTitle == null ? null : ctx.pageTitle.ImagePath) || "assets/images/requered-doc.png", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx.pageTitle ? ctx.translate.currentLang != "hi" ? ctx.pageTitle == null ? null : ctx.pageTitle.NameEnglish : ctx.pageTitle == null ? null : ctx.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx.pageTitle ? ctx.translate.currentLang != "hi" ? ctx.pageTitle == null ? null : ctx.pageTitle.NameEnglish : ctx.pageTitle == null ? null : ctx.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.dataModel); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.dataModel); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.dataModel && ctx.commonService.GetObjectLength(ctx.dataModel) == 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx.orderPublicPortal == null ? null : ctx.orderPublicPortal.length) > 0); } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_10__[/* RouterLinkWithHref */ "d"], _angular_common__WEBPACK_IMPORTED_MODULE_14__[/* NgIf */ "n"], src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_15__[/* MiniLoaderComponent */ "a"], src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_16__[/* NoRecordsComponent */ "a"], _angular_common__WEBPACK_IMPORTED_MODULE_14__[/* NgForOf */ "m"], ngx_pagination__WEBPACK_IMPORTED_MODULE_17__[/* PaginationControlsComponent */ "c"], _angular_forms__WEBPACK_IMPORTED_MODULE_18__[/* NgSelectOption */ "q"], _angular_forms__WEBPACK_IMPORTED_MODULE_18__[/* ɵangular_packages_forms_forms_x */ "w"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__[/* TranslatePipe */ "c"], _angular_common__WEBPACK_IMPORTED_MODULE_14__[/* DatePipe */ "e"]], styles: [".dpt-profile-iframe[_ngcontent-%COMP%]{width:100%;height:750px;border:1px solid #ddd;border-radius:4px}"] }); return JankalyanCategoryAndEntryTypeComponent; })(); /***/ }), /***/ "5hVl": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return NavBarComponent; }); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("AytR"); /* harmony import */ var _Shared_Enum_e_booket_enum__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("mlfa"); /* harmony import */ var _Shared_Model_dpt_district_website_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ylkv"); /* harmony import */ var _Shared_Enum_lookup_type_enum__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("RVz6"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("fXoL"); /* harmony import */ var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("b6Qw"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("sYmb"); /* harmony import */ var _Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("qVlC"); /* harmony import */ var _Shared_Service_department_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("6mOv"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("tyNb"); /* harmony import */ var _Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("LYBR"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("ofXK"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("3Pt+"); const _c0 = function (a0) { return { "dropdown-toggle": a0 }; }; function NavBarComponent_li_22_a_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 38); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r4550 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4551 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](3, _c0, item_r4550 == null ? null : item_r4550.IsSubMenu))("href", item_r4550 == null ? null : item_r4550.ExternalUrl, _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4551.translate.currentLang != "en" ? item_r4550 == null ? null : item_r4550.DisplayNameHindi : item_r4550 == null ? null : item_r4550.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_a_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 39); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r4550 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4552 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](3, _c0, item_r4550 == null ? null : item_r4550.IsSubMenu))("routerLink", item_r4550 == null ? null : item_r4550.InternalUrl); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4552.translate.currentLang != "en" ? item_r4550 == null ? null : item_r4550.DisplayNameHindi : item_r4550 == null ? null : item_r4550.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_a_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 49); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subItem_r4557 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4558 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](2, _c0, subItem_r4557 == null ? null : subItem_r4557.IsSubMenu)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4558.translate.currentLang != "en" ? subItem_r4557 == null ? null : subItem_r4557.DisplayNameHindi : subItem_r4557 == null ? null : subItem_r4557.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_a_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 50); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subItem_r4557 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4559 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](3, _c0, subItem_r4557 == null ? null : subItem_r4557.IsSubMenu))("routerLink", (subItem_r4557 == null ? null : subItem_r4557.IsSubMenu) ? undefined : subItem_r4557 == null ? null : subItem_r4557.Url); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4559.translate.currentLang != "en" ? subItem_r4557 == null ? null : subItem_r4557.DisplayNameHindi : subItem_r4557 == null ? null : subItem_r4557.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_a_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 51); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subItem_r4557 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4560 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](3, _c0, subItem_r4557 == null ? null : subItem_r4557.IsSubMenu))("href", (subItem_r4557 == null ? null : subItem_r4557.IsSubMenu) ? undefined : subItem_r4557 == null ? null : subItem_r4557.PDFAttachment, _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4560.translate.currentLang != "en" ? subItem_r4557 == null ? null : subItem_r4557.DisplayNameHindi : subItem_r4557 == null ? null : subItem_r4557.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_a_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 52); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subItem_r4557 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4561 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](3, _c0, subItem_r4557 == null ? null : subItem_r4557.IsSubMenu))("href", (subItem_r4557 == null ? null : subItem_r4557.IsSubMenu) ? undefined : subItem_r4557 == null ? null : subItem_r4557.RedirectionURL, _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4561.translate.currentLang != "en" ? subItem_r4557 == null ? null : subItem_r4557.DisplayNameHindi : subItem_r4557 == null ? null : subItem_r4557.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_a_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 53); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subItem_r4557 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4562 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](2, _c0, subItem_r4557 == null ? null : subItem_r4557.IsSubMenu)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4562.translate.currentLang != "en" ? subItem_r4557 == null ? null : subItem_r4557.DisplayNameHindi : subItem_r4557 == null ? null : subItem_r4557.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 49); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subSubItem_r4570 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4571 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](2, _c0, subSubItem_r4570 == null ? null : subSubItem_r4570.IsSubMenu)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4571.translate.currentLang != "en" ? subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameHindi : subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 60); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subSubItem_r4570 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4572 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("routerLink", subSubItem_r4570 == null ? null : subSubItem_r4570.Url); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4572.translate.currentLang != "en" ? subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameHindi : subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 61); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subSubItem_r4570 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4573 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("href", subSubItem_r4570 == null ? null : subSubItem_r4570.PDFAttachment, _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4573.translate.currentLang != "en" ? subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameHindi : subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 62); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subSubItem_r4570 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4574 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("href", subSubItem_r4570 == null ? null : subSubItem_r4570.RedirectionURL, _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4574.translate.currentLang != "en" ? subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameHindi : subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 63); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subSubItem_r4570 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4575 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4575.translate.currentLang != "en" ? subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameHindi : subSubItem_r4570 == null ? null : subSubItem_r4570.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_a_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 60); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subsubSubItem_r4583 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4584 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](7); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("routerLink", subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.Url); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4584.translate.currentLang != "en" ? subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.DisplayNameHindi : subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_a_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 61); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subsubSubItem_r4583 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4585 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](7); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("href", subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.PDFAttachment, _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4585.translate.currentLang != "en" ? subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.DisplayNameHindi : subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_a_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 62); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subsubSubItem_r4583 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4586 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](7); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("href", subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.RedirectionURL, _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4586.translate.currentLang != "en" ? subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.DisplayNameHindi : subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_a_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "a", 63); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subsubSubItem_r4583 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4587 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](7); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4587.translate.currentLang != "en" ? subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.DisplayNameHindi : subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.DisplayNameEnglish, " "); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](1, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_a_1_Template, 2, 2, "a", 56); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](2, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_a_2_Template, 2, 2, "a", 57); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](3, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_a_3_Template, 2, 2, "a", 58); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](4, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_a_4_Template, 2, 1, "a", 59); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subsubSubItem_r4583 = ctx.$implicit; const ctx_r4582 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](7); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subsubSubItem_r4583.IsDisable && ctx_r4582.enumdata.DataEnteredInScreens == (subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subsubSubItem_r4583.IsDisable && ctx_r4582.enumdata.PDFFileUpload == (subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subsubSubItem_r4583.IsDisable && ctx_r4582.enumdata.URLOfSameWebsiteOtherWebsite == (subsubSubItem_r4583 == null ? null : subsubSubItem_r4583.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", subsubSubItem_r4583.IsDisable); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "ul", 54); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](1, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_li_1_Template, 5, 4, "li", 55); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subSubItem_r4570 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4576 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r4576.getSubSubSubMenuList(subSubItem_r4570 == null ? null : subSubItem_r4570.Id)); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](1, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_1_Template, 2, 4, "a", 43); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](2, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_2_Template, 2, 2, "a", 56); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](3, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_3_Template, 2, 2, "a", 57); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](4, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_4_Template, 2, 2, "a", 58); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](5, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_a_5_Template, 2, 1, "a", 59); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](6, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_ul_6_Template, 2, 1, "ul", 48); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subSubItem_r4570 = ctx.$implicit; const ctx_r4569 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subSubItem_r4570.IsDisable && ctx_r4569.enumdata.HasSubMenu == (subSubItem_r4570 == null ? null : subSubItem_r4570.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subSubItem_r4570.IsDisable && ctx_r4569.enumdata.DataEnteredInScreens == (subSubItem_r4570 == null ? null : subSubItem_r4570.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subSubItem_r4570.IsDisable && ctx_r4569.enumdata.PDFFileUpload == (subSubItem_r4570 == null ? null : subSubItem_r4570.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subSubItem_r4570.IsDisable && ctx_r4569.enumdata.URLOfSameWebsiteOtherWebsite == (subSubItem_r4570 == null ? null : subSubItem_r4570.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", subSubItem_r4570.IsDisable); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r4569.enumdata.HasSubMenu == (subSubItem_r4570 == null ? null : subSubItem_r4570.RedirectionManagementRadio)); } } function NavBarComponent_li_22_ul_3_li_1_ul_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "ul", 54); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](1, NavBarComponent_li_22_ul_3_li_1_ul_6_li_1_Template, 7, 6, "li", 55); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subItem_r4557 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4563 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r4563.getSubSubMenuList(subItem_r4557 == null ? null : subItem_r4557.SubMenuCode)); } } function NavBarComponent_li_22_ul_3_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "li", 42); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](1, NavBarComponent_li_22_ul_3_li_1_a_1_Template, 2, 4, "a", 43); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](2, NavBarComponent_li_22_ul_3_li_1_a_2_Template, 2, 5, "a", 44); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](3, NavBarComponent_li_22_ul_3_li_1_a_3_Template, 2, 5, "a", 45); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](4, NavBarComponent_li_22_ul_3_li_1_a_4_Template, 2, 5, "a", 46); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](5, NavBarComponent_li_22_ul_3_li_1_a_5_Template, 2, 4, "a", 47); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](6, NavBarComponent_li_22_ul_3_li_1_ul_6_Template, 2, 1, "ul", 48); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const subItem_r4557 = ctx.$implicit; const ctx_r4556 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subItem_r4557.IsDisable && ctx_r4556.enumdata.HasSubMenu == (subItem_r4557 == null ? null : subItem_r4557.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subItem_r4557.IsDisable && ctx_r4556.enumdata.DataEnteredInScreens == (subItem_r4557 == null ? null : subItem_r4557.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subItem_r4557.IsDisable && ctx_r4556.enumdata.PDFFileUpload == (subItem_r4557 == null ? null : subItem_r4557.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !subItem_r4557.IsDisable && ctx_r4556.enumdata.URLOfSameWebsiteOtherWebsite == (subItem_r4557 == null ? null : subItem_r4557.RedirectionManagementRadio)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", subItem_r4557.IsDisable); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", subItem_r4557 == null ? null : subItem_r4557.IsSubMenu); } } function NavBarComponent_li_22_ul_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "ul", 40); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](1, NavBarComponent_li_22_ul_3_li_1_Template, 7, 6, "li", 41); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r4550 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r4553 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r4553.getSubMenuList(item_r4550 == null ? null : item_r4550.MainMenuCode)); } } const _c1 = function (a0) { return { "dropdown": a0 }; }; function NavBarComponent_li_22_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "li", 34); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](1, NavBarComponent_li_22_a_1_Template, 2, 5, "a", 35); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](2, NavBarComponent_li_22_a_2_Template, 2, 5, "a", 36); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](3, NavBarComponent_li_22_ul_3_Template, 2, 1, "ul", 37); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r4550 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpureFunction1 */ "Ec"](4, _c1, item_r4550 == null ? null : item_r4550.IsSubMenu)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", item_r4550 == null ? null : item_r4550.IsExternalUrl); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", !(item_r4550 == null ? null : item_r4550.IsExternalUrl)); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", item_r4550 == null ? null : item_r4550.IsSubMenu); } } function NavBarComponent_li_23_Template(rf, ctx) { if (rf & 1) { const _r4596 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "li", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](1, "a", 64); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵlistener */ "ic"]("click", function NavBarComponent_li_23_Template_a_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵrestoreView */ "Mc"](_r4596); const ctx_r4595 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); return ctx_r4595.showOtherLinksBlock(); }); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](2, "svg", 65); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelement */ "Wb"](3, "path", 66); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipeBind1 */ "oc"](5, 1, "RelativeLinks_txt"), " "); } } function NavBarComponent_section_55_li_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](1, "a", 74); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r4598 = ctx.$implicit; const ctx_r4597 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpropertyInterpolate1 */ "vc"]("href", "https://department.rajasthan.gov.in/home/dptHome/", item_r4598.DepartmentCode, "", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4597.translate.currentLang != "en" ? item_r4598 == null ? null : item_r4598.DepartmentTitleHindi : item_r4598 == null ? null : item_r4598.DepartmentTitle, " "); } } function NavBarComponent_section_55_Template(rf, ctx) { if (rf & 1) { const _r4600 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "section", 67); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](1, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](2, "div", 69); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](3, "a", 70); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵlistener */ "ic"]("click", function NavBarComponent_section_55_Template_a_click_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵrestoreView */ "Mc"](_r4600); const ctx_r4599 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); return ctx_r4599.hideOtherLinksBlock(); }); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](4, "svg", 71); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelement */ "Wb"](5, "path", 72); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelement */ "Wb"](6, "path", 73); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnamespaceHTML */ "kc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](7, "ul"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](8, NavBarComponent_section_55_li_8_Template, 3, 2, "li", 55); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r4548 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](8); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r4548.childDeptMenuList); } } function NavBarComponent_div_56_Template(rf, ctx) { if (rf & 1) { const _r4602 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](1, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](2, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](3, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](4, "h5", 22); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipe */ "nc"](6, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](7, "button", 23); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](8, "span", 24); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](9, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](10, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](11, "div", 77); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](12, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](13); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipe */ "nc"](14, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](15, "input", 78); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵlistener */ "ic"]("ngModelChange", function NavBarComponent_div_56_Template_input_ngModelChange_15_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵrestoreView */ "Mc"](_r4602); const ctx_r4601 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); return ctx_r4601.password = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](16, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](17, "button", 79); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵlistener */ "ic"]("click", function NavBarComponent_div_56_Template_button_click_17_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵrestoreView */ "Mc"](_r4602); const ctx_r4603 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); return ctx_r4603.submit(); }); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](18); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipe */ "nc"](19, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](20, "button", 31); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](21); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipe */ "nc"](22, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r4549 = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipeBind1 */ "oc"](6, 5, "Ebooklet_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](8); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipeBind1 */ "oc"](14, 7, "EnterPassword_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r4549.password); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipeBind1 */ "oc"](19, 9, "SubmitButton_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipeBind1 */ "oc"](22, 11, "CloseButton_txt"), " "); } } let NavBarComponent = /*@__PURE__*/ (() => { class NavBarComponent { constructor(_cookie, _elmentsList, translate, _dptDistrictWebsiteService, _departmentService, _route, _commonService) { this._cookie = _cookie; this._elmentsList = _elmentsList; this.translate = translate; this._dptDistrictWebsiteService = _dptDistrictWebsiteService; this._departmentService = _departmentService; this._route = _route; this._commonService = _commonService; this.ebookletTypeEnum = _Shared_Enum_e_booket_enum__WEBPACK_IMPORTED_MODULE_1__[/* EbookletTypeEnum */ "b"]; this.childDeptMenuList = []; this.showMenu = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].IsCMISMenuVisible; this.menuListModel = new _Shared_Model_dpt_district_website_model__WEBPACK_IMPORTED_MODULE_2__[/* DepartmentMenuListModel */ "c"](); this.enumdata = _Shared_Enum_lookup_type_enum__WEBPACK_IMPORTED_MODULE_3__[/* LookupEnum */ "a"]; this.isDistrict = false; this.isDistrict = _commonService.IsDistrict(); } ngOnInit() { //#region Get Department Menu List from Subject Behaviour this._departmentService.getDeptMenuList().subscribe(data => { if (data) { this.menuListModel = data; } }); //#endregion if (!this.isDistrict) { this._commonService.updateMenu.subscribe(() => { setTimeout(() => { this.GetChildDepartmentMenus(); }, 0); }); } } submit() { // if (this.password === environment.passWord) { // this.password = ''; // $('#Select-Ebooklet').modal('show'); // $('#Ebooklet-password').modal('hide'); // this._cookie.set("ebookletAuthorized", '1', 1); // } else { // alert("Invalid password"); // this._cookie.set("ebookletAuthorized", '0', 1); // } } onClick(_element) { if (_element.classList.contains("sub-menu-hover-item")) { this._elmentsList.nativeElement.querySelectorAll('.sub-menu-hover-item').forEach(subMenu => { subMenu.classList.remove("active"); }); _element.classList.add('active'); this._elmentsList.nativeElement.querySelectorAll('.main-menu').forEach(mainMenu => { let item = mainMenu.parentElement.querySelectorAll("a.sub-menu-hover-item.active"); if (item.length > 0) { mainMenu.classList.add("active"); } else { mainMenu.classList.remove("active"); } }); } else if (_element.classList.contains("main-menu")) { let subMenuItems = _element.parentElement.querySelectorAll('.sub-menu-hover-item'); if (subMenuItems.length == 0) { this._elmentsList.nativeElement.querySelectorAll('.sub-menu-hover-item').forEach(subMenu => { subMenu.classList.remove("active"); }); this._elmentsList.nativeElement.querySelectorAll('.main-menu').forEach(mainMenu => { mainMenu.classList.remove("active"); }); _element.classList.add('active'); } } } GetChildDepartmentMenus() { let deptCode = this._commonService.GetWebDistDeptCode(); this._dptDistrictWebsiteService.GetChildDepartmentMenuList(deptCode).subscribe((response) => { if (response.IsSuccess) { this.childDeptMenuList = response.Data; } }, (error) => { console.error(error); }); } getSubMenuList(mainMenuCode) { return this.menuListModel.SubMenuList.filter(x => x.DepartmentMainMenuCode == mainMenuCode); } getSubSubMenuList(SubMenuCode) { return this.menuListModel.SubSubMenuList.filter(x => x.DepartmentSubMenuCode == SubMenuCode); } getSubSubSubMenuList(SubSubMenuCode) { return this.menuListModel.SubSubMenuList.filter(x => x.DepartmentSubMenuCode == SubSubMenuCode); } // onSkipToNavbar() { // //this.openNav(); // this.skipperNavbar.nativeElement.focus(); // } openNav() { let element = document.getElementById("mySidenav"); element.style.width = "520px"; setTimeout(() => { element.classList.add('active'); }, 100); } closeNav() { let element = document.getElementById("mySidenav"); if (element.classList.contains("active")) { element.style.width = "0px"; element.classList.remove('active'); } } showOtherLinksBlock() { let element = document.getElementById("card-mega-menu"); setTimeout(() => { element.classList.add('active'); }, 100); } hideOtherLinksBlock() { let element = document.getElementById("card-mega-menu"); if (element.classList.contains("active")) { element.classList.remove('active'); } } } NavBarComponent.ɵfac = function NavBarComponent_Factory(t) { return new (t || NavBarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵdirectiveInject */ "Vb"](ngx_cookie_service__WEBPACK_IMPORTED_MODULE_5__[/* CookieService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ElementRef */ "o"]), _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵdirectiveInject */ "Vb"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__[/* TranslateService */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵdirectiveInject */ "Vb"](_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_7__[/* DptDistrictWebsiteService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵdirectiveInject */ "Vb"](_Shared_Service_department_service__WEBPACK_IMPORTED_MODULE_8__[/* DepartmentService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_9__[/* ActivatedRoute */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵdirectiveInject */ "Vb"](_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_10__[/* CommonService */ "a"])); }; NavBarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵdefineComponent */ "Pb"]({ type: NavBarComponent, selectors: [["app-nav-bar"]], hostBindings: function NavBarComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵlistener */ "ic"]("click", function NavBarComponent_click_HostBindingHandler($event) { return ctx.onClick($event.target); }); } }, decls: 57, vars: 14, consts: [[1, "header-menu", "navbar", "navbar-expand-xl", "navbar-top"], ["href", "#", 1, "university-logo"], ["src", "assets/images/logo_sm.png", 3, "alt", "title"], [1, "logo_gov_tagline"], ["id", "mySidenav", 1, "container-fluid"], ["type", "button", "data-toggle", "collapse", "data-target", "#navbarSupportedContent", "aria-controls", "navbarSupportedContent", "aria-expanded", "false", "aria-label", "Toggle navigation", 1, "navbar-toggler"], [1, "navbar-toggler-icon"], [1, "bi", "bi-list"], ["id", "navbarSupportedContent", 1, "collapse", "navbar-collapse"], [1, "navbar-nav", "w-100", "justify-content-center"], [1, "li-mobile-menu-close"], ["href", "#", "data-toggle", "collapse", "data-target", "#navbarSupportedContent", 1, "mobile-menu-close"], [1, "bi", "bi-x-lg"], [1, "nav-item"], [1, "nav-link", 3, "routerLink"], [1, "fas", "fa-home", 2, "font-size", "20px"], ["class", "nav-item", 3, "ngClass", 4, "ngFor", "ngForOf"], ["class", "nav-item", 4, "ngIf"], ["id", "DownloadDocumentModal", "tabindex", "-1", "role", "dialog", "aria-labelledby", "WriteCMTitle", "aria-hidden", "true", 1, "modal", "fade", "modal-dsign-sm", "modal-round-design"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], [1, "modal-content"], [1, "modal-header"], [1, "modal-title"], ["type", "button", "data-dismiss", "modal", "aria-label", "Close", 1, "close"], ["aria-hidden", "true"], [1, "modal-body"], [1, "form-group"], ["type", "text", "placeholder", "Enter Text", 1, "form-control"], [1, "form-control"], [1, "modal-footer"], ["type", "button", 1, "btn", "btn-primary"], ["type", "button", "data-dismiss", "modal", 1, "btn", "btn-secondary"], ["id", "card-mega-menu", "class", "card-mega-menu", 4, "ngIf"], ["class", "modal fade modal-dsign-sm", "id", "Ebooklet-password", "tabindex", "-1", "role", "dialog", "aria-labelledby", "Booklet password", "aria-hidden", "true", 4, "ngIf"], [1, "nav-item", 3, "ngClass"], ["class", "nav-link", "target", "_blank", "id", "navbarDropdownMenuLink", "aria-haspopup", "true", "aria-expanded", "false", 3, "ngClass", "href", 4, "ngIf"], ["class", "nav-link", "id", "navbarDropdownMenuLink", "aria-haspopup", "true", "aria-expanded", "false", 3, "ngClass", "routerLink", 4, "ngIf"], ["class", "dropdown-menu", "aria-labelledby", "navbarDropdownMenuLink", 4, "ngIf"], ["target", "_blank", "id", "navbarDropdownMenuLink", "aria-haspopup", "true", "aria-expanded", "false", 1, "nav-link", 3, "ngClass", "href"], ["id", "navbarDropdownMenuLink", "aria-haspopup", "true", "aria-expanded", "false", 1, "nav-link", 3, "ngClass", "routerLink"], ["aria-labelledby", "navbarDropdownMenuLink", 1, "dropdown-menu"], ["class", "dropdown-submenu", 4, "ngFor", "ngForOf"], [1, "dropdown-submenu"], ["class", "dropdown-item", "tabindex", "1", "href", "javascript:void(0)", 3, "ngClass", 4, "ngIf"], ["class", "dropdown-item", "tabindex", "2", 3, "ngClass", "routerLink", 4, "ngIf"], ["class", "dropdown-item", "tabindex", "3", "target", "_blank", 3, "ngClass", "href", 4, "ngIf"], ["class", "dropdown-item", "tabindex", "4", "target", "_blank", 3, "ngClass", "href", 4, "ngIf"], ["class", "dropdown-item", "tabindex", "5", "href", "javascript:void(0);", "style", "cursor: not-allowed;", 3, "ngClass", 4, "ngIf"], ["class", "dropdown-menu low-d", 4, "ngIf"], ["tabindex", "1", "href", "javascript:void(0)", 1, "dropdown-item", 3, "ngClass"], ["tabindex", "2", 1, "dropdown-item", 3, "ngClass", "routerLink"], ["tabindex", "3", "target", "_blank", 1, "dropdown-item", 3, "ngClass", "href"], ["tabindex", "4", "target", "_blank", 1, "dropdown-item", 3, "ngClass", "href"], ["tabindex", "5", "href", "javascript:void(0);", 1, "dropdown-item", 2, "cursor", "not-allowed", 3, "ngClass"], [1, "dropdown-menu", "low-d"], [4, "ngFor", "ngForOf"], ["class", "dropdown-item", "tabindex", "5", 3, "routerLink", 4, "ngIf"], ["class", "dropdown-item", "tabindex", "6", "target", "_blank", 3, "href", 4, "ngIf"], ["class", "dropdown-item", "tabindex", "7", "target", "_blank", 3, "href", 4, "ngIf"], ["class", "dropdown-item", "tabindex", "8", "href", "javascript:void(0);", "style", "cursor: not-allowed;", 4, "ngIf"], ["tabindex", "5", 1, "dropdown-item", 3, "routerLink"], ["tabindex", "6", "target", "_blank", 1, "dropdown-item", 3, "href"], ["tabindex", "7", "target", "_blank", 1, "dropdown-item", 3, "href"], ["tabindex", "8", "href", "javascript:void(0);", 1, "dropdown-item", 2, "cursor", "not-allowed"], ["href", "javascript:void(0)", 1, "nav-link", "btn-mega-menu", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "16", "height", "16", "fill", "currentColor", "viewBox", "0 0 16 16", 1, "bi", "bi-list"], ["fill-rule", "evenodd", "d", "M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"], ["id", "card-mega-menu", 1, "card-mega-menu"], [1, "position-relative"], [1, "card-mega-menu-items"], ["href", "javascript:void(0);", "title", "Close", 1, "card-mega-menu-close", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "fill", "#000", "viewBox", "0 0 16 16", 1, "bi", "bi-x-lg"], ["fill-rule", "evenodd", "d", "M13.854 2.146a.5.5 0 0 1 0 .708l-11 11a.5.5 0 0 1-.708-.708l11-11a.5.5 0 0 1 .708 0Z"], ["fill-rule", "evenodd", "d", "M2.146 2.146a.5.5 0 0 0 0 .708l11 11a.5.5 0 0 0 .708-.708l-11-11a.5.5 0 0 0-.708 0Z"], ["target", "_blank", 3, "href"], ["id", "Ebooklet-password", "tabindex", "-1", "role", "dialog", "aria-labelledby", "Booklet password", "aria-hidden", "true", 1, "modal", "fade", "modal-dsign-sm"], ["role", "document", 1, "modal-dialog", "modal-md", "modal-dialog-centered"], [1, "form-group", "m-0"], ["type", "password", "placeholder", "********", 1, "form-control", 3, "ngModel", "ngModelChange"], ["type", "button", "data-toggle", "modal", 1, "btn", "btn-primary", 3, "click"]], template: function NavBarComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](0, "section", 0); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](1, "a", 1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelement */ "Wb"](2, "img", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](5, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](8, "div", 4); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](9, "button", 5); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](10, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](11, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](12, "Menu"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelement */ "Wb"](13, "i", 7); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](14, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](15, "ul", 9); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](16, "li", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](17, "a", 11); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelement */ "Wb"](18, "i", 12); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](19, "li", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](20, "a", 14); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelement */ "Wb"](21, "i", 15); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](22, NavBarComponent_li_22_Template, 4, 6, "li", 16); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](23, NavBarComponent_li_23_Template, 6, 3, "li", 17); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](24, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](25, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](26, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](27, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](28, "h5", 22); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](29, "Download Document"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](30, "button", 23); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](31, "span", 24); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](32, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](33, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](34, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelement */ "Wb"](35, "input", 27); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](36, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](37, "select", 28); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](38, "option"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](39, "--Select Category--"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](40, "option"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](41, "Category 1"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](42, "option"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](43, "Category 2"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](44, "option"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](45, "Category 3"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](46, "option"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](47, "Category 4"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](48, "option"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](49, "Category 5"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](50, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](51, "button", 30); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](52, "Submit"); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementStart */ "ac"](53, "button", 31); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtext */ "Vc"](54, " Close "); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](55, NavBarComponent_section_55_Template, 9, 1, "section", 32); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtemplate */ "Tc"](56, NavBarComponent_div_56_Template, 23, 13, "div", 33); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpropertyInterpolate */ "uc"]("alt", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipeBind1 */ "oc"](3, 8, "Govtagline_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpropertyInterpolate */ "uc"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipeBind1 */ "oc"](4, 10, "Govtagline_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpipeBind1 */ "oc"](7, 12, "Govtagline_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](14); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵpropertyInterpolate */ "uc"]("routerLink", ctx._commonService.GetHomePageUrl()); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngForOf", ctx.menuListModel == null ? null : ctx.menuListModel.MenuList); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", ctx.childDeptMenuList && ctx.childDeptMenuList.length > 0); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](32); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", ctx.childDeptMenuList && ctx.childDeptMenuList.length > 0); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__[/* ɵɵproperty */ "tc"]("ngIf", false); } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_9__[/* RouterLinkWithHref */ "d"], _angular_common__WEBPACK_IMPORTED_MODULE_11__[/* NgForOf */ "m"], _angular_common__WEBPACK_IMPORTED_MODULE_11__[/* NgIf */ "n"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__[/* NgSelectOption */ "q"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__[/* ɵangular_packages_forms_forms_x */ "w"], _angular_common__WEBPACK_IMPORTED_MODULE_11__[/* NgClass */ "l"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__[/* DefaultValueAccessor */ "b"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__[/* NgControlStatus */ "m"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__[/* NgModel */ "p"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__[/* TranslatePipe */ "c"]], styles: [".accordion[_ngcontent-%COMP%] .sidenav-dropdown-header[_ngcontent-%COMP%]:after{font-family:Font Awesome\\ 5 Free;content:\"-\";font-size:25px;font-weight:900}.accordion[_ngcontent-%COMP%] .sidenav-dropdown-header.collapsed[_ngcontent-%COMP%]:after{content:\"+\"}.sidenav-dropdown-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e3e3;padding:10px 0}.sidenav-dropdown-title[_ngcontent-%COMP%]{flex:auto}.sidenav-dropdown-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:transparent}.sidenav-dropdown-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#1e3e65;font-weight:600}.sidenav-dropdown-body[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#6d6d6d;font-size:14px;margin:5px 15px;padding:4px;font-weight:600;border-radius:10px}.sidenav-dropdown-body[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:27px}.sidenav-dropdown-title-img[_ngcontent-%COMP%]{height:40px;width:40px;background:#fff;text-align:center;line-height:35px;margin-right:10px;border-radius:100%;border:1px solid #e8e8e8}.sidenav-dropdown-body[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:10px}.sidenav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}.sidenav-dropdown-header-no-submenu[_ngcontent-%COMP%]:after{display:none}.sidebar-w-hover[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{padding:0}.sidebar-w-hover[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none}.sidebar-w-hover[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#000;display:flex;align-items:center;padding:8px 15px;border-radius:0;border-right:3px solid #fff;border-bottom:1px solid #e6e6e6;font-weight:600}.sidebar-w-hover[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{background:#ececec;border-right:3px solid #0a4a73}.sub-menu-hover-item.active[_ngcontent-%COMP%]{background-color:#0da1e4}.main-menu.active[_ngcontent-%COMP%]{background-color:#4e4e4e;color:#fff!important}.main-menu.active[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{filter:drop-shadow(2px 4px 6px #000)}.main-menu.active[_ngcontent-%COMP%]:hover{background:#2f2f2f!important}.sidebar-w-hover[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{border:none!important}.sidebar-w-hover[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:10px}.sidebar-w-hover-items[_ngcontent-%COMP%]{position:relative}.sidebar-w-hover-submenu[_ngcontent-%COMP%]{display:none;background:#123d6a;position:absolute;right:320px;width:-moz-max-content;width:max-content;text-align:right;line-height:40px;border-radius:12px 0 0 12px;min-width:280px;top:auto;transform:translatey(0);overflow:hidden;top:0}.sidebar-w-hover-submenu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#12579f}.sidebar-w-hover-submenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0}.sidebar-w-hover-submenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;border-bottom:1px solid hsla(0,0%,100%,.1)}.sidebar-w-hover-submenu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;padding:7px 12px;color:#fff;line-height:normal;font-weight:600}.sidebar-w-hover-submenu[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:25px;border-radius:100%;filter:drop-shadow(2px 4px 6px#000)}.sidebar-w-hover-items[_ngcontent-%COMP%]:hover .sidebar-w-hover-submenu[_ngcontent-%COMP%]{display:block}@media screen and (max-width:1600px){.sidebar-w-hover-submenu[_ngcontent-%COMP%]{transform:translatey(-50%);top:auto}}"] }); return NavBarComponent; })(); /***/ }), /***/ "6a0g": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* unused harmony export CMISModuleViewModel */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CMISFilterModel; }); /* harmony import */ var _common_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("j672"); class CMISModuleViewModel { } class CMISFilterModel { constructor() { this.ModuleId = 0; this.AdmDepartmentCode = 0; this.DepartmentCode = 0; this.JanDepartmentCode = 0; this.FinancialYear = 0; this.IndexModel = new _common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); } } /***/ }), /***/ "6mOv": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DepartmentService; }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2Vo4"); /* harmony import */ var _Model_app_setting__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GAWG"); /* harmony import */ var _Model_dictionary__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ADQb"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("fXoL"); /* harmony import */ var _base_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("MLVi"); let DepartmentService = /*@__PURE__*/ (() => { class DepartmentService { constructor(_baseService) { this._baseService = _baseService; this.deptModel$ = new rxjs__WEBPACK_IMPORTED_MODULE_0__[/* BehaviorSubject */ "a"](null); this.deptMenuList$ = new rxjs__WEBPACK_IMPORTED_MODULE_0__[/* BehaviorSubject */ "a"](null); } //#region Department Detail getDepartmentDetail() { return this.deptModel$.asObservable(); } setDepartmentDetail(model) { this.deptModel$.next(model); } GetDepartmentDetailByDptCode(dptCode) { let param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_2__[/* Dictionary */ "a"](); param.Add('dptCode', dptCode); param.Add('isOtherDept', false); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].DepartmentDetailByDptCodeUrl, param); } GetGeneralSubCategory(CategoryCode) { return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetGeneralSubCategory + CategoryCode); } //#endregion //#region Department Menu List getDeptMenuList() { return this.deptMenuList$.asObservable(); } setDeptMenuList(model) { this.deptMenuList$.next(model); } GetDepartmentMenuList(dptCode) { let params = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_2__[/* Dictionary */ "a"](); params.Add('dptCode', dptCode); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].MenuListForDepartmentUrl, params); } } DepartmentService.ɵfac = function DepartmentService_Factory(t) { return new (t || DepartmentService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵinject */ "ec"](_base_service__WEBPACK_IMPORTED_MODULE_4__[/* BaseService */ "a"])); }; DepartmentService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdefineInjectable */ "Rb"]({ token: DepartmentService, factory: DepartmentService.ɵfac, providedIn: "root" }); return DepartmentService; })(); /***/ }), /***/ "7+yb": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PluginModule; }); /* harmony import */ var _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5hVl"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ofXK"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("sYmb"); /* harmony import */ var angular_progress_bar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("nUjy"); /* harmony import */ var ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("hzby"); /* harmony import */ var ngx_pagination__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("oOf3"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("3Pt+"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("tyNb"); /* harmony import */ var src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("/9+q"); /* harmony import */ var src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("GmSP"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("fXoL"); const sharedCom = [ _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_0__[/* NavBarComponent */ "a"], src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_8__[/* NoRecordsComponent */ "a"], src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_9__[/* MiniLoaderComponent */ "a"] ]; const SharedModule = [ ngx_pagination__WEBPACK_IMPORTED_MODULE_5__[/* NgxPaginationModule */ "a"], angular_progress_bar__WEBPACK_IMPORTED_MODULE_3__[/* ProgressBarModule */ "b"], ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_4__[/* BsDatepickerModule */ "c"].forRoot(), ]; let PluginModule = /*@__PURE__*/ (() => { class PluginModule { } PluginModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_10__[/* ɵɵdefineNgModule */ "Tb"]({ type: PluginModule }); PluginModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_10__[/* ɵɵdefineInjector */ "Sb"]({ factory: function PluginModule_Factory(t) { return new (t || PluginModule)(); }, imports: [[ _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__[/* TranslateModule */ "b"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__[/* FormsModule */ "h"], _angular_router__WEBPACK_IMPORTED_MODULE_7__[/* RouterModule */ "e"], _angular_common__WEBPACK_IMPORTED_MODULE_1__[/* CommonModule */ "c"], SharedModule ], ngx_pagination__WEBPACK_IMPORTED_MODULE_5__[/* NgxPaginationModule */ "a"], angular_progress_bar__WEBPACK_IMPORTED_MODULE_3__[/* ProgressBarModule */ "b"], ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_4__[/* BsDatepickerModule */ "c"]] }); return PluginModule; })(); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_10__[/* ɵɵsetNgModuleScope */ "Qc"](PluginModule, { declarations: [_nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_0__[/* NavBarComponent */ "a"], src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_8__[/* NoRecordsComponent */ "a"], src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_9__[/* MiniLoaderComponent */ "a"]], imports: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__[/* TranslateModule */ "b"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__[/* FormsModule */ "h"], _angular_router__WEBPACK_IMPORTED_MODULE_7__[/* RouterModule */ "e"], _angular_common__WEBPACK_IMPORTED_MODULE_1__[/* CommonModule */ "c"], ngx_pagination__WEBPACK_IMPORTED_MODULE_5__[/* NgxPaginationModule */ "a"], angular_progress_bar__WEBPACK_IMPORTED_MODULE_3__[/* ProgressBarModule */ "b"], ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_4__[/* BsDatepickerModule */ "c"]], exports: [ngx_pagination__WEBPACK_IMPORTED_MODULE_5__[/* NgxPaginationModule */ "a"], angular_progress_bar__WEBPACK_IMPORTED_MODULE_3__[/* ProgressBarModule */ "b"], ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_4__[/* BsDatepickerModule */ "c"], _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_0__[/* NavBarComponent */ "a"], src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_8__[/* NoRecordsComponent */ "a"], src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_9__[/* MiniLoaderComponent */ "a"]] }); })(); /***/ }), /***/ "71LL": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppService; }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2Vo4"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("fXoL"); let AppService = /*@__PURE__*/ (() => { class AppService { constructor() { this.showNavigation$ = new rxjs__WEBPACK_IMPORTED_MODULE_0__[/* BehaviorSubject */ "a"](true); this.showHeader$ = new rxjs__WEBPACK_IMPORTED_MODULE_0__[/* BehaviorSubject */ "a"](true); this.showFooter$ = new rxjs__WEBPACK_IMPORTED_MODULE_0__[/* BehaviorSubject */ "a"](true); } } AppService.ɵfac = function AppService_Factory(t) { return new (t || AppService)(); }; AppService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵdefineInjectable */ "Rb"]({ token: AppService, factory: AppService.ɵfac, providedIn: 'root' }); return AppService; })(); /***/ }), /***/ "7o/Q": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Subscriber; }); /* unused harmony export SafeSubscriber */ /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("n6bG"); /* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("gRHU"); /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("quSY"); /* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("2QA8"); /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("2fFW"); /* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("NJ4a"); class Subscriber extends _Subscription__WEBPACK_IMPORTED_MODULE_2__[/* Subscription */ "a"] { constructor(destinationOrNext, error, complete) { super(); this.syncErrorValue = null; this.syncErrorThrown = false; this.syncErrorThrowable = false; this.isStopped = false; switch (arguments.length) { case 0: this.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__[/* empty */ "a"]; break; case 1: if (!destinationOrNext) { this.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__[/* empty */ "a"]; break; } if (typeof destinationOrNext === 'object') { if (destinationOrNext instanceof Subscriber) { this.syncErrorThrowable = destinationOrNext.syncErrorThrowable; this.destination = destinationOrNext; destinationOrNext.add(this); } else { this.syncErrorThrowable = true; this.destination = new SafeSubscriber(this, destinationOrNext); } break; } default: this.syncErrorThrowable = true; this.destination = new SafeSubscriber(this, destinationOrNext, error, complete); break; } } [_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_3__[/* rxSubscriber */ "a"]]() { return this; } static create(next, error, complete) { const subscriber = new Subscriber(next, error, complete); subscriber.syncErrorThrowable = false; return subscriber; } next(value) { if (!this.isStopped) { this._next(value); } } error(err) { if (!this.isStopped) { this.isStopped = true; this._error(err); } } complete() { if (!this.isStopped) { this.isStopped = true; this._complete(); } } unsubscribe() { if (this.closed) { return; } this.isStopped = true; super.unsubscribe(); } _next(value) { this.destination.next(value); } _error(err) { this.destination.error(err); this.unsubscribe(); } _complete() { this.destination.complete(); this.unsubscribe(); } _unsubscribeAndRecycle() { const { _parentOrParents } = this; this._parentOrParents = null; this.unsubscribe(); this.closed = false; this.isStopped = false; this._parentOrParents = _parentOrParents; return this; } } class SafeSubscriber extends Subscriber { constructor(_parentSubscriber, observerOrNext, error, complete) { super(); this._parentSubscriber = _parentSubscriber; let next; let context = this; if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_0__[/* isFunction */ "a"])(observerOrNext)) { next = observerOrNext; } else if (observerOrNext) { next = observerOrNext.next; error = observerOrNext.error; complete = observerOrNext.complete; if (observerOrNext !== _Observer__WEBPACK_IMPORTED_MODULE_1__[/* empty */ "a"]) { context = Object.create(observerOrNext); if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_0__[/* isFunction */ "a"])(context.unsubscribe)) { this.add(context.unsubscribe.bind(context)); } context.unsubscribe = this.unsubscribe.bind(this); } } this._context = context; this._next = next; this._error = error; this._complete = complete; } next(value) { if (!this.isStopped && this._next) { const { _parentSubscriber } = this; if (!_config__WEBPACK_IMPORTED_MODULE_4__[/* config */ "a"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(this._next, value); } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) { this.unsubscribe(); } } } error(err) { if (!this.isStopped) { const { _parentSubscriber } = this; const { useDeprecatedSynchronousErrorHandling } = _config__WEBPACK_IMPORTED_MODULE_4__[/* config */ "a"]; if (this._error) { if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(this._error, err); this.unsubscribe(); } else { this.__tryOrSetError(_parentSubscriber, this._error, err); this.unsubscribe(); } } else if (!_parentSubscriber.syncErrorThrowable) { this.unsubscribe(); if (useDeprecatedSynchronousErrorHandling) { throw err; } Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[/* hostReportError */ "a"])(err); } else { if (useDeprecatedSynchronousErrorHandling) { _parentSubscriber.syncErrorValue = err; _parentSubscriber.syncErrorThrown = true; } else { Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[/* hostReportError */ "a"])(err); } this.unsubscribe(); } } } complete() { if (!this.isStopped) { const { _parentSubscriber } = this; if (this._complete) { const wrappedComplete = () => this._complete.call(this._context); if (!_config__WEBPACK_IMPORTED_MODULE_4__[/* config */ "a"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(wrappedComplete); this.unsubscribe(); } else { this.__tryOrSetError(_parentSubscriber, wrappedComplete); this.unsubscribe(); } } else { this.unsubscribe(); } } } __tryOrUnsub(fn, value) { try { fn.call(this._context, value); } catch (err) { this.unsubscribe(); if (_config__WEBPACK_IMPORTED_MODULE_4__[/* config */ "a"].useDeprecatedSynchronousErrorHandling) { throw err; } else { Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[/* hostReportError */ "a"])(err); } } } __tryOrSetError(parent, fn, value) { if (!_config__WEBPACK_IMPORTED_MODULE_4__[/* config */ "a"].useDeprecatedSynchronousErrorHandling) { throw new Error('bad call'); } try { fn.call(this._context, value); } catch (err) { if (_config__WEBPACK_IMPORTED_MODULE_4__[/* config */ "a"].useDeprecatedSynchronousErrorHandling) { parent.syncErrorValue = err; parent.syncErrorThrown = true; return true; } else { Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[/* hostReportError */ "a"])(err); return true; } } return false; } _unsubscribe() { const { _parentSubscriber } = this; this._context = null; this._parentSubscriber = null; _parentSubscriber.unsubscribe(); } } //# sourceMappingURL=Subscriber.js.map /***/ }), /***/ "81W+": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DepartmentEnum; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return WebDirectoryGroupByEnum; }); var DepartmentEnum = /*@__PURE__*/ (function (DepartmentEnum) { DepartmentEnum[DepartmentEnum["Churu"] = 32] = "Churu"; DepartmentEnum[DepartmentEnum["JankalyanWebPortal"] = 982] = "JankalyanWebPortal"; DepartmentEnum[DepartmentEnum["BudgetWebsite"] = 1149] = "BudgetWebsite"; DepartmentEnum[DepartmentEnum["Collectorate"] = 11] = "Collectorate"; DepartmentEnum[DepartmentEnum["RISL"] = 352] = "RISL"; DepartmentEnum[DepartmentEnum["Khairthal_Tijara"] = 1283] = "Khairthal_Tijara"; DepartmentEnum[DepartmentEnum["Alwar"] = 23] = "Alwar"; DepartmentEnum[DepartmentEnum["Medical_Education"] = 102] = "Medical_Education"; DepartmentEnum[DepartmentEnum["RajEms"] = 505] = "RajEms"; DepartmentEnum[DepartmentEnum["Kotputli_Behror"] = 1282] = "Kotputli_Behror"; DepartmentEnum[DepartmentEnum["Karauli"] = 43] = "Karauli"; return DepartmentEnum; })({}); var WebDirectoryGroupByEnum = /*@__PURE__*/ (function (WebDirectoryGroupByEnum) { WebDirectoryGroupByEnum["DepartmentCategory"] = "department-category"; WebDirectoryGroupByEnum["AdminDepartment"] = "admin-department"; WebDirectoryGroupByEnum["SectorDepartment"] = "sector-department"; WebDirectoryGroupByEnum["DepartmentSubCategory"] = "department-sub-category"; return WebDirectoryGroupByEnum; })({}); /***/ }), /***/ "9AGB": /***/ (function(module, exports, __webpack_require__) { "use strict"; /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var identity_1 = /*@__PURE__*/ __webpack_require__("yoF8"); function pipe() { var fns = []; for (var _i = 0; _i < arguments.length; _i++) { fns[_i] = arguments[_i]; } return pipeFromArray(fns); } exports.pipe = pipe; function pipeFromArray(fns) { if (fns.length === 0) { return identity_1.identity; } if (fns.length === 1) { return fns[0]; } return function piped(input) { return fns.reduce(function (prev, fn) { return fn(prev); }, input); }; } exports.pipeFromArray = pipeFromArray; /***/ }), /***/ "9GqC": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ProjectMasterService; }); /* harmony import */ var _Model_app_setting__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GAWG"); /* harmony import */ var _Model_dictionary__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ADQb"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("fXoL"); /* harmony import */ var _base_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("MLVi"); let ProjectMasterService = /*@__PURE__*/ (() => { class ProjectMasterService { constructor(_baseService) { this._baseService = _baseService; } GetProjectMasterListBySearchFilterData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetProjectMasterListBySearchFilter, model); } GetById(id, IsBase64File = false) { const param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_1__[/* Dictionary */ "a"](); param.Add("id", id); param.Add("IsBase64File", IsBase64File); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].getProjectMaterDetailUrl, param); } } ProjectMasterService.ɵfac = function ProjectMasterService_Factory(t) { return new (t || ProjectMasterService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵinject */ "ec"](_base_service__WEBPACK_IMPORTED_MODULE_3__[/* BaseService */ "a"])); }; ProjectMasterService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdefineInjectable */ "Rb"]({ token: ProjectMasterService, factory: ProjectMasterService.ɵfac, providedIn: 'root' }); return ProjectMasterService; })(); /***/ }), /***/ "9GyW": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WebsitePoliciesComponent; }); /* harmony import */ var src_app_Shared_Enum_jankalyan_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9h9k"); /* harmony import */ var src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("j672"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("fXoL"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("sYmb"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("jhN1"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("tyNb"); /* harmony import */ var src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("LYBR"); /* harmony import */ var src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("qVlC"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("ofXK"); /* harmony import */ var src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("GmSP"); /* harmony import */ var src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("/9+q"); function WebsitePoliciesComponent_span_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1724 = _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtextInterpolate */ "Wc"](ctx_r1724.translate.currentLang != "hi" ? ctx_r1724.pageTitle == null ? null : ctx_r1724.pageTitle.NameEnglish : ctx_r1724.pageTitle == null ? null : ctx_r1724.pageTitle.NameHindi); } } function WebsitePoliciesComponent_span_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function WebsitePoliciesComponent_span_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1726 = _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtextInterpolate */ "Wc"](ctx_r1726.translate.currentLang != "hi" ? ctx_r1726.pageTitle == null ? null : ctx_r1726.pageTitle.NameEnglish : ctx_r1726.pageTitle == null ? null : ctx_r1726.pageTitle.NameHindi); } } function WebsitePoliciesComponent_span_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function WebsitePoliciesComponent_div_18_li_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](0, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](1, "a", 4); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r1732 = ctx.$implicit; const ctx_r1731 = _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵpropertyInterpolate2 */ "wc"]("routerLink", "/jankalyan-category-and-entry-type/0/", item_r1732.JankalyanCategoryCode, "/", item_r1732.Code, ""); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r1731.translate.currentLang != "hi" ? item_r1732 == null ? null : item_r1732.SubMenuNameEnglish : item_r1732 == null ? null : item_r1732.SubMenuNameHindi, " "); } } function WebsitePoliciesComponent_div_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](0, "div", 15); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](1, "ul", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtemplate */ "Tc"](2, WebsitePoliciesComponent_div_18_li_2_Template, 3, 3, "li", 17); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r1728 = _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r1728.entryTypes); } } function WebsitePoliciesComponent_app_mini_loader_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function WebsitePoliciesComponent_app_no_records_20_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelement */ "Wb"](0, "app-no-records", 18); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("showImage", true); } } let WebsitePoliciesComponent = /*@__PURE__*/ (() => { class WebsitePoliciesComponent { constructor(translate, sanitizer, _route, _titleService, _commonService, _distDeptService) { this.translate = translate; this.sanitizer = sanitizer; this._route = _route; this._titleService = _titleService; this._commonService = _commonService; this._distDeptService = _distDeptService; this.categoryEnm = src_app_Shared_Enum_jankalyan_enum__WEBPACK_IMPORTED_MODULE_0__[/* JankalyanCategoryEnum */ "b"]; this.getCategoryDetail(); this.getEntryTypeListByCategory(); } ngOnInit() { } getCategoryDetail() { this._distDeptService.GetJankalyanCategoryDetail(Number(this.categoryEnm.WebsitePolicyCode)).subscribe(res => { if (res.IsSuccess) { let cat = res.Data; if (cat) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_1__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = (cat.SubMenuNameEnglish || cat.Name); this.pageTitle.NameHindi = (cat.SubMenuNameHindi || cat.NameHindi); this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } } }, error => { console.error(error); }); } getEntryTypeListByCategory() { this.entryTypes = undefined; this._distDeptService.GetJankalyanEntryTypeListByCategory(Number(this.categoryEnm.WebsitePolicyCode)).subscribe(data => { var _a; if (data.IsSuccess) { this.entryTypes = (_a = data) === null || _a === void 0 ? void 0 : _a.Data; } else { this.entryTypes = []; } }, error => { this.entryTypes = []; console.error(error.message); }); } } WebsitePoliciesComponent.ɵfac = function WebsitePoliciesComponent_Factory(t) { return new (t || WebsitePoliciesComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdirectiveInject */ "Vb"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__[/* TranslateService */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__[/* DomSanitizer */ "b"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_5__[/* ActivatedRoute */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__[/* Title */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_6__[/* CommonService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_7__[/* DptDistrictWebsiteService */ "a"])); }; WebsitePoliciesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdefineComponent */ "Pb"]({ type: WebsitePoliciesComponent, selectors: [["app-website-policies"]], decls: 21, vars: 14, consts: [["id", "sticky-anchor"], ["aria-label", "breadcrumb", 1, "breadcrumb_nav"], [1, "breadcrumb"], [1, "breadcrumb-item"], [3, "routerLink"], ["aria-current", "page", 1, "breadcrumb-item", "active"], [4, "ngIf"], [1, "col-lg-12", "mt-5"], [1, "title", "text-center", "mb-1"], [1, "img-fluid", 3, "src", "title", "alt"], [1, "inner-page", "page-about", "page-editor-entry-design"], [1, "container"], [1, "row"], ["class", "col-lg-12", 4, "ngIf"], [3, "showImage", 4, "ngIf"], [1, "col-lg-12"], [1, "quick-link", "site-map-link", "page-sitemap-list", "p-5", "page-link-listing"], [4, "ngFor", "ngForOf"], [3, "showImage"]], template: function WebsitePoliciesComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelement */ "Wb"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](1, "nav", 1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](2, "ol", 2); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](3, "li", 3); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](4, "a", 4); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtext */ "Vc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵpipe */ "nc"](6, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](7, "li", 5); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtemplate */ "Tc"](8, WebsitePoliciesComponent_span_8_Template, 2, 1, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtemplate */ "Tc"](9, WebsitePoliciesComponent_span_9_Template, 2, 1, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](10, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](11, "h1", 8); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelement */ "Wb"](12, "img", 9); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtemplate */ "Tc"](13, WebsitePoliciesComponent_span_13_Template, 2, 1, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtemplate */ "Tc"](14, WebsitePoliciesComponent_span_14_Template, 2, 1, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](15, "section", 10); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](16, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementStart */ "ac"](17, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtemplate */ "Tc"](18, WebsitePoliciesComponent_div_18_Template, 3, 1, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtemplate */ "Tc"](19, WebsitePoliciesComponent_app_mini_loader_19_Template, 1, 0, "app-mini-loader", 6); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtemplate */ "Tc"](20, WebsitePoliciesComponent_app_no_records_20_Template, 1, 1, "app-no-records", 14); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵpropertyInterpolate */ "uc"]("routerLink", ctx._commonService.GetHomePageUrl()); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵpipeBind1 */ "oc"](6, 12, "Home_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("ngIf", ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵpropertyInterpolate */ "uc"]("src", (ctx.pageTitle == null ? null : ctx.pageTitle.ImagePath) || "assets/images/document_Icon.png", _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx.pageTitle ? ctx.translate.currentLang != "hi" ? ctx.pageTitle == null ? null : ctx.pageTitle.NameEnglish : ctx.pageTitle == null ? null : ctx.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx.pageTitle ? ctx.translate.currentLang != "hi" ? ctx.pageTitle == null ? null : ctx.pageTitle.NameEnglish : ctx.pageTitle == null ? null : ctx.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("ngIf", ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("ngIf", ctx.entryTypes && ctx.entryTypes.length > 0); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.entryTypes); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵproperty */ "tc"]("ngIf", ctx.entryTypes && ctx.entryTypes.length == 0); } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_5__[/* RouterLinkWithHref */ "d"], _angular_common__WEBPACK_IMPORTED_MODULE_8__[/* NgIf */ "n"], _angular_common__WEBPACK_IMPORTED_MODULE_8__[/* NgForOf */ "m"], src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_9__[/* MiniLoaderComponent */ "a"], src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_10__[/* NoRecordsComponent */ "a"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__[/* TranslatePipe */ "c"]], styles: [""] }); return WebsitePoliciesComponent; })(); /***/ }), /***/ "9h9k": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return JankalyanCategoryEnum; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return JankalyanEntryTypeEnum; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return JankalyanEntryCategoryTypeEnum; }); /* unused harmony export ModuleNameOfWebsiteEnum */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DepartmentCodeEnum; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return SingleEntryDataType; }); var JankalyanCategoryEnum = /*@__PURE__*/ (function (JankalyanCategoryEnum) { JankalyanCategoryEnum["AboutDistrict"] = "About District"; JankalyanCategoryEnum["AboutDistrictCode"] = "1"; JankalyanCategoryEnum[JankalyanCategoryEnum["AboutDepartmantDistCode"] = 4] = "AboutDepartmantDistCode"; JankalyanCategoryEnum["GIGWGuidelines"] = "GIGW Guidelines"; JankalyanCategoryEnum["GIGWGuidelinesCode"] = "50"; JankalyanCategoryEnum["WebsitePolicy"] = "Website Policy"; JankalyanCategoryEnum["WebsitePolicyCode"] = "51"; return JankalyanCategoryEnum; })({}); var JankalyanEntryTypeEnum = /*@__PURE__*/ (function (JankalyanEntryTypeEnum) { JankalyanEntryTypeEnum["About"] = "About"; JankalyanEntryTypeEnum["AboutCode"] = "1"; JankalyanEntryTypeEnum["FooterNodalOfficerDetail"] = "Footer Nodal Officer Detail"; JankalyanEntryTypeEnum["FooterNodalOfficerDetailCode"] = "40"; // FooterNodalOfficerDetailHindi = "Footer Nodal Officer Detail (Hindi)", // FooterNodalOfficerDetailHindiCode = "81", JankalyanEntryTypeEnum["CopyRightDetail"] = "Copy Right Detail"; JankalyanEntryTypeEnum["CopyRightDetailCode"] = "41"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["Inauguration"] = 60] = "Inauguration"; JankalyanEntryTypeEnum["Shilanyas"] = "Shilanyas"; JankalyanEntryTypeEnum["ShilanyasCode"] = "58"; JankalyanEntryTypeEnum["Lokarpan"] = "Lokarpan"; JankalyanEntryTypeEnum["LokarpanCode"] = "52"; JankalyanEntryTypeEnum["SpecialRelease"] = "SpecialRelease"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["SpecialReleaseCode"] = 41] = "SpecialReleaseCode"; JankalyanEntryTypeEnum["PressRelease"] = "PressRelease"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["PressReleaseCode"] = 36] = "PressReleaseCode"; JankalyanEntryTypeEnum["WebsitePolicy"] = "Website Policy"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["WebsitePolicyCode"] = 83] = "WebsitePolicyCode"; JankalyanEntryTypeEnum["ContentContributionModeration"] = "Content Contribution, Moderation and Approval Poli"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["ContentContributionModerationCode"] = 84] = "ContentContributionModerationCode"; JankalyanEntryTypeEnum["HyperlinkPolicy"] = "Hyperlink Policy"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["HyperlinkPolicyCode"] = 85] = "HyperlinkPolicyCode"; JankalyanEntryTypeEnum["ContentReviewPolicy"] = "Content Review Policy"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["ContentReviewPolicyCode"] = 86] = "ContentReviewPolicyCode"; JankalyanEntryTypeEnum["ContentArchivalPolicy"] = "Content Archival Policy"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["ContentArchivalPolicyCode"] = 87] = "ContentArchivalPolicyCode"; JankalyanEntryTypeEnum["TermsConditions"] = "Terms & Conditions"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["TermsConditionsCode"] = 88] = "TermsConditionsCode"; JankalyanEntryTypeEnum["AccessibilityStatement"] = "Accessibility Statement"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["AccessibilityStatementCode"] = 89] = "AccessibilityStatementCode"; JankalyanEntryTypeEnum["Disclaimer"] = "Disclaimer"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["DisclaimerCode"] = 90] = "DisclaimerCode"; JankalyanEntryTypeEnum["PrivacyPolicy"] = "Privacy Policy"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["PrivacyPolicyCode"] = 91] = "PrivacyPolicyCode"; JankalyanEntryTypeEnum["ScreenReaderAccess"] = "Screen Reader Access"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["ScreenReaderAccessCode"] = 92] = "ScreenReaderAccessCode"; JankalyanEntryTypeEnum["GeneralTermsAndConditions"] = "General Terms and Conditions"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["GeneralTermsAndConditionsCode"] = 93] = "GeneralTermsAndConditionsCode"; JankalyanEntryTypeEnum["CopyrightPolicy"] = "Copyright Policy"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["CopyrightPolicyCode"] = 94] = "CopyrightPolicyCode"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["HomeCode"] = 356] = "HomeCode"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["WelcomePage"] = 124] = "WelcomePage"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["WelcomePage2"] = 124] = "WelcomePage2"; JankalyanEntryTypeEnum[JankalyanEntryTypeEnum["WelcomePage3"] = 124] = "WelcomePage3"; return JankalyanEntryTypeEnum; })({}); var JankalyanEntryCategoryTypeEnum = /*@__PURE__*/ (function (JankalyanEntryCategoryTypeEnum) { JankalyanEntryCategoryTypeEnum["Introduction"] = "\u092A\u094D\u0930\u0938\u094D\u0924\u093E\u0935\u0928\u093E"; JankalyanEntryCategoryTypeEnum["IntroductionCode"] = "20"; JankalyanEntryCategoryTypeEnum["Parichay"] = "\u092A\u0930\u093F\u091A\u092F"; JankalyanEntryCategoryTypeEnum["ParichayCode"] = "21"; JankalyanEntryCategoryTypeEnum["Definitions"] = "\u092A\u0930\u093F\u092D\u093E\u0937\u093E\u090F\u0902"; JankalyanEntryCategoryTypeEnum["DefinitionsCode"] = "22"; JankalyanEntryCategoryTypeEnum["ObjectiveofTheScheme"] = "\u092F\u094B\u091C\u0928\u093E \u0915\u093E \u0909\u0926\u0947\u0926\u094D\u0937\u094D\u092F"; JankalyanEntryCategoryTypeEnum["ObjectiveofTheSchemeCode"] = "23"; JankalyanEntryCategoryTypeEnum["PlanDetails"] = "\u092F\u094B\u091C\u0928\u093E \u0915\u093E \u0935\u093F\u0935\u0930\u0923"; JankalyanEntryCategoryTypeEnum["PlanDetailsCode"] = "24"; JankalyanEntryCategoryTypeEnum["PolicyYear"] = "\u092A\u0949\u0932\u093F\u0938\u0940 \u0935\u0930\u094D\u0937"; JankalyanEntryCategoryTypeEnum["PolicyYearCode"] = "25"; JankalyanEntryCategoryTypeEnum["EligibilityUnderScheme"] = "\u092F\u094B\u091C\u0928\u093E\u0928\u094D\u0924\u0930\u094D\u0917\u0924 \u092A\u093E\u0924\u094D\u0930\u0924\u093E"; JankalyanEntryCategoryTypeEnum["EligibilityUnderSchemeCode"] = "26"; JankalyanEntryCategoryTypeEnum["BeneficiariesofTheScheme"] = "\u092F\u094B\u091C\u0928\u093E \u0915\u0947 \u0932\u093E\u092D\u093E\u0930\u094D\u0925\u0940"; JankalyanEntryCategoryTypeEnum["BeneficiariesofTheSchemeCode"] = "27"; JankalyanEntryCategoryTypeEnum["ItIsNecessaryToJoinThePlan"] = "\u092F\u094B\u091C\u0928\u093E \u0938\u0947 \u091C\u0941\u095C\u0928\u093E \u091C\u0930\u0942\u0930\u0940 \u0939\u0948"; JankalyanEntryCategoryTypeEnum["ItIsNecessaryToJoinThePlanCode"] = "28"; JankalyanEntryCategoryTypeEnum["UnderRegistrationProcess"] = "\t\u092F\u094B\u091C\u0928\u093E\u0930\u094D\u0928\u094D\u0924\u0917\u0924 \u092A\u0902\u091C\u0940\u0915\u0930\u0923 \u0915\u0940 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E"; JankalyanEntryCategoryTypeEnum["UnderRegistrationProcessCode"] = "29"; JankalyanEntryCategoryTypeEnum["PlannedPackage"] = "\u092F\u094B\u091C\u0928\u093E\u0930\u094D\u0928\u094D\u0924\u0917\u0924 \u092A\u0948\u0915\u0947\u091C"; JankalyanEntryCategoryTypeEnum["PlannedPackageCode"] = "30"; JankalyanEntryCategoryTypeEnum["ProfitTakingProcess"] = "\u092F\u094B\u091C\u0928\u093E\u0930\u094D\u0928\u094D\u0924\u0917\u0924 \u0932\u093E\u092D \u0932\u0947\u0928\u0947 \u0915\u0940 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E"; JankalyanEntryCategoryTypeEnum["ProfitTakingProcessCode"] = "31"; JankalyanEntryCategoryTypeEnum["DisposalOfCircumvention"] = "\t\u092A\u0930\u093F\u0935\u0947\u0926\u0928\u093E \u0928\u093F\u0938\u094D\u0924\u093E\u0930\u0923"; JankalyanEntryCategoryTypeEnum["DisposalOfCircumventionCode"] = "32"; JankalyanEntryCategoryTypeEnum["SpecialFeaturesOfThePlan"] = "\u092F\u094B\u091C\u0928\u093E \u0915\u0940 \u0916\u093E\u0938 \u092C\u093E\u0924\u0947\u0902"; JankalyanEntryCategoryTypeEnum["SpecialFeaturesOfThePlanCode"] = "33"; JankalyanEntryCategoryTypeEnum["Contact"] = "\u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947"; JankalyanEntryCategoryTypeEnum["ContactCode"] = "34"; JankalyanEntryCategoryTypeEnum["ImportantThingsRelatedToJanAadhaarCard"] = "\u091C\u0928\u0906\u0927\u093E\u0930 \u0915\u093E\u0930\u094D\u0921 \u0938\u0947 \u091C\u0941\u0921\u0940 \u0906\u0935\u0936\u094D\u092F\u0915 \u092C\u093E\u0924\u0947\u0902"; JankalyanEntryCategoryTypeEnum["ImportantThingsRelatedToJanAadhaarCardCode"] = "35"; JankalyanEntryCategoryTypeEnum["RequiredDocuments"] = "\u0906\u0935\u0936\u094D\u092F\u0915 \u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C"; JankalyanEntryCategoryTypeEnum["RequiredDocumentsCode"] = "36"; JankalyanEntryCategoryTypeEnum["FooterNodalOfficerDetail"] = "Footer Nodal Officer Detail"; JankalyanEntryCategoryTypeEnum["FooterNodalOfficerDetailCode"] = "40"; // FooterNodalOfficerDetailHindi = "Footer Nodal Officer Detail (Hindi)", // FooterNodalOfficerDetailHindiCode = "81", JankalyanEntryCategoryTypeEnum["CopyRightDetail"] = "Copy Right Detail"; JankalyanEntryCategoryTypeEnum["CopyRightDetailCode"] = "41"; JankalyanEntryCategoryTypeEnum["GIGW_Guidelines"] = "GIGW Guidelines"; JankalyanEntryCategoryTypeEnum["GIGW_GuidelinesCode"] = "50"; JankalyanEntryCategoryTypeEnum["WebsitePolicy"] = "Website Policy"; JankalyanEntryCategoryTypeEnum["WebsitePolicyCode"] = "51"; JankalyanEntryCategoryTypeEnum["HospitalNotSignedTheMOU"] = "Hospital Not Signed The MOU"; JankalyanEntryCategoryTypeEnum["HospitalNotSignedTheMOUCode"] = "62"; return JankalyanEntryCategoryTypeEnum; })({}); var ModuleNameOfWebsiteEnum = /*@__PURE__*/ (function (ModuleNameOfWebsiteEnum) { ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["JankayanCategory"] = 1] = "JankayanCategory"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["JankayanType"] = 2] = "JankayanType"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["GeneralEntryCategory"] = 3] = "GeneralEntryCategory"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["GovernmentDocumentType"] = 4] = "GovernmentDocumentType"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["CMISModule"] = 5] = "CMISModule"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["Scheme"] = 6] = "Scheme"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["PressRelease"] = 7] = "PressRelease"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["Tender"] = 8] = "Tender"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["Projects"] = 9] = "Projects"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["DepartmentContactCategory"] = 10] = "DepartmentContactCategory"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["StatePolicy"] = 11] = "StatePolicy"; ModuleNameOfWebsiteEnum[ModuleNameOfWebsiteEnum["MLA"] = 12] = "MLA"; return ModuleNameOfWebsiteEnum; })({}); var DepartmentCodeEnum = /*@__PURE__*/ (function (DepartmentCodeEnum) { DepartmentCodeEnum[DepartmentCodeEnum["ChiranjeeviPortal"] = 18] = "ChiranjeeviPortal"; DepartmentCodeEnum[DepartmentCodeEnum["PSKS"] = 989] = "PSKS"; DepartmentCodeEnum[DepartmentCodeEnum["WebMyWay"] = 994] = "WebMyWay"; DepartmentCodeEnum[DepartmentCodeEnum["DirectorateOfPeaceNonViolence"] = 495] = "DirectorateOfPeaceNonViolence"; DepartmentCodeEnum[DepartmentCodeEnum["DIETSRajasthan"] = 189] = "DIETSRajasthan"; return DepartmentCodeEnum; })({}); var SingleEntryDataType = /*@__PURE__*/ (function (SingleEntryDataType) { SingleEntryDataType[SingleEntryDataType["PDF"] = 30404] = "PDF"; SingleEntryDataType[SingleEntryDataType["Data"] = 30403] = "Data"; SingleEntryDataType[SingleEntryDataType["URL"] = 30405] = "URL"; SingleEntryDataType[SingleEntryDataType["IFrame"] = 31124] = "IFrame"; return SingleEntryDataType; })({}); /***/ }), /***/ "9ppp": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ObjectUnsubscribedError; }); const ObjectUnsubscribedErrorImpl = /*@__PURE__*/ (() => { function ObjectUnsubscribedErrorImpl() { Error.call(this); this.message = 'object unsubscribed'; this.name = 'ObjectUnsubscribedError'; return this; } ObjectUnsubscribedErrorImpl.prototype = Object.create(Error.prototype); return ObjectUnsubscribedErrorImpl; })(); const ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl; //# sourceMappingURL=ObjectUnsubscribedError.js.map /***/ }), /***/ "ADQb": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Dictionary; }); class Dictionary { constructor() { this.items = {}; this.count = 0; } ContainsKey(key) { return this.items.hasOwnProperty(key); } Count() { return this.count; } Add(key, value) { if (!this.items.hasOwnProperty(key)) { this.count++; } this.items[key] = value; } Remove(key) { const val = this.items[key]; delete this.items[key]; this.count--; return val; } Item(key) { return this.items[key]; } Keys() { const keySet = []; for (const prop in this.items) { if (this.items.hasOwnProperty(prop)) { keySet.push(prop); } } return keySet; } Values() { const values = []; for (const prop in this.items) { if (this.items.hasOwnProperty(prop)) { values.push(this.items[prop]); } } return values; } } /***/ }), /***/ "AeFW": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return UrlEnum; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return WebTemplateEnum; }); var UrlEnum = /*@__PURE__*/ (function (UrlEnum) { UrlEnum["HomeUrl"] = "/home/dptHome/"; UrlEnum["DefaultBannerUrl"] = "https://jankalyanfile.rajasthan.gov.in//Content/UploadFolder/DepartmentMaster/18/2022/Mar/30409/185458.jpeg"; UrlEnum["SectoralUrl"] = "https://sectors.rajasthan.gov.in/"; UrlEnum["DepartmentUrl"] = "https://department.rajasthan.gov.in/home/dptHome/"; UrlEnum["GoogleMapUrl"] = "https://maps.google.com/maps?q={lattitude},{longitude}"; return UrlEnum; })({}); var WebTemplateEnum = /*@__PURE__*/ (function (WebTemplateEnum) { WebTemplateEnum["University"] = "template-university"; return WebTemplateEnum; })({}); /***/ }), /***/ "AytR": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // CONCATENATED MODULE: ./src/environments/timestamp/build-timestamp-departmentmask.ts const BUILD_TIMESTAMP = '2026-02-23T12:48:17.140+05:30'; // CONCATENATED MODULE: ./src/environments/environment.ts /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return environment; }); const environment = { production: true, buildTimestamp: BUILD_TIMESTAMP, LoginEnable: false, // ApiBaseUrl: 'https://departmentfrontwebapi.rajasthan.gov.in/', // JanRWApiBaseUrl: 'https://departmentfrontwebapi.rajasthan.gov.in', ApiBaseUrl: 'https://departmentfrontwebapi.rajasthan.gov.in/', JanRWApiBaseUrl: 'https://jankalyanapi.rajasthan.gov.in/', AdvertisementUrl: 'https://rajadvt.rajasthan.gov.in/', AppUrl: "https://department.rajasthan.gov.in/", MissionApiBaseUrl: 'https://mission2030api.rajasthan.gov.in/', Raj_Sampark_Url: "https://sampark.rajasthan.gov.in/", isHashUrl: false, DateFormat: "dd MMM yyyy", DatePickerFormat: 'DD-MMM-YYYY', HereMapId: 'y1qZcFw8oEW25G18GfiP', HereMapCode: 'GSQ1fq6a1sJpE3BEoCILCw', HereMapLatitude: 27.391277, HereMapLongitude: 73.432617, HereMapLayerState: 'STATE_DOIT', RendomColor: '#' + (0x1000000 + (Math.random()) * 0xffffff).toString(16).substr(1, 6), IsCMISMenuVisible: false, MinimumDate: new Date("2018-12-17"), isDemo: false, LocalWebsiteCode: "4444", FlipBookUrl: 'https://dipr.rajasthan.gov.in/FlipBook/flipbook.html?Pdfurl=', counterTimer: 60 }; /***/ }), /***/ "Cfvw": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/Observable.js + 2 modules var Observable = __webpack_require__("HDdC"); // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js + 3 modules var subscribeTo = __webpack_require__("SeVD"); // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/Subscription.js + 1 modules var Subscription = __webpack_require__("quSY"); // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/symbol/observable.js var symbol_observable = __webpack_require__("kJWO"); // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js function scheduleObservable(input, scheduler) { return new Observable["a" /* Observable */](subscriber => { const sub = new Subscription["a" /* Subscription */](); sub.add(scheduler.schedule(() => { const observable = input[symbol_observable["a" /* observable */]](); sub.add(observable.subscribe({ next(value) { sub.add(scheduler.schedule(() => subscriber.next(value))); }, error(err) { sub.add(scheduler.schedule(() => subscriber.error(err))); }, complete() { sub.add(scheduler.schedule(() => subscriber.complete())); }, })); })); return sub; }); } //# sourceMappingURL=scheduleObservable.js.map // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js function schedulePromise(input, scheduler) { return new Observable["a" /* Observable */](subscriber => { const sub = new Subscription["a" /* Subscription */](); sub.add(scheduler.schedule(() => input.then(value => { sub.add(scheduler.schedule(() => { subscriber.next(value); sub.add(scheduler.schedule(() => subscriber.complete())); })); }, err => { sub.add(scheduler.schedule(() => subscriber.error(err))); }))); return sub; }); } //# sourceMappingURL=schedulePromise.js.map // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js var scheduleArray = __webpack_require__("jZKg"); // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/symbol/iterator.js var symbol_iterator = __webpack_require__("Lhse"); // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js function scheduleIterable(input, scheduler) { if (!input) { throw new Error('Iterable cannot be null'); } return new Observable["a" /* Observable */](subscriber => { const sub = new Subscription["a" /* Subscription */](); let iterator; sub.add(() => { if (iterator && typeof iterator.return === 'function') { iterator.return(); } }); sub.add(scheduler.schedule(() => { iterator = input[symbol_iterator["a" /* iterator */]](); sub.add(scheduler.schedule(function () { if (subscriber.closed) { return; } let value; let done; try { const result = iterator.next(); value = result.value; done = result.done; } catch (err) { subscriber.error(err); return; } if (done) { subscriber.complete(); } else { subscriber.next(value); this.schedule(); } })); })); return sub; }); } //# sourceMappingURL=scheduleIterable.js.map // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js function isInteropObservable(input) { return input && typeof input[symbol_observable["a" /* observable */]] === 'function'; } //# sourceMappingURL=isInteropObservable.js.map // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/util/isPromise.js var isPromise = __webpack_require__("c2HN"); // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js var isArrayLike = __webpack_require__("I55L"); // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/util/isIterable.js function isIterable(input) { return input && typeof input[symbol_iterator["a" /* iterator */]] === 'function'; } //# sourceMappingURL=isIterable.js.map // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js function scheduled(input, scheduler) { if (input != null) { if (isInteropObservable(input)) { return scheduleObservable(input, scheduler); } else if (Object(isPromise["a" /* isPromise */])(input)) { return schedulePromise(input, scheduler); } else if (Object(isArrayLike["a" /* isArrayLike */])(input)) { return Object(scheduleArray["a" /* scheduleArray */])(input, scheduler); } else if (isIterable(input) || typeof input === 'string') { return scheduleIterable(input, scheduler); } } throw new TypeError((input !== null && typeof input || input) + ' is not observable'); } //# sourceMappingURL=scheduled.js.map // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/observable/from.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return from; }); function from(input, scheduler) { if (!scheduler) { if (input instanceof Observable["a" /* Observable */]) { return input; } return new Observable["a" /* Observable */](Object(subscribeTo["a" /* subscribeTo */])(input)); } else { return scheduled(input, scheduler); } } //# sourceMappingURL=from.js.map /***/ }), /***/ "DH7j": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isArray; }); const isArray = /*@__PURE__*/ (() => Array.isArray || ((x) => x && typeof x.length === 'number'))(); //# sourceMappingURL=isArray.js.map /***/ }), /***/ "DiM6": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AchievementAwardService; }); /* harmony import */ var _Model_app_setting__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GAWG"); /* harmony import */ var _Model_dictionary__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ADQb"); /* harmony import */ var _Enum_achievement_category_enum__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("uIW0"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("fXoL"); /* harmony import */ var _base_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("MLVi"); let AchievementAwardService = /*@__PURE__*/ (() => { class AchievementAwardService { constructor(_baseService) { this._baseService = _baseService; this.achievementEnum = _Enum_achievement_category_enum__WEBPACK_IMPORTED_MODULE_2__[/* AchievementCategoryEnum */ "a"]; } GetAchievementListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementListurl, model); } GetAwardListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAwardListUrl, model); } GetUpcomingEventListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetUpcomingEventListUrl, model); } GetPublicationsListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetPublicationsListUrl, model); } GetAnnualProgressReportListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAnnualProgramListUrl, model); } GetDetailById(id) { const param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_1__[/* Dictionary */ "a"](); param.Add("id", id); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementDetailurl, param); } GetSubCategoryGroupAchievementListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementListGroupBySubCategoryurl, model); } GetCategoryGroupAchievementListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementListGroupByCategoryUrl, model); } GetDepartMetGroupAchievementListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementListGroupByDepartmenturl, model); } GetDepartMetGroupImportantDecisionData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetImportantDecisionListGroupByDepartmenturl, model); } GetCategoryWiseListData(id, model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetCategoryWiseListDataURL + id, model); } GetDepartmentWiseListData(id, model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetDepartmentWiseListDataURL + id, model); } GetListDataByCatId(id, model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementByCatId + id, model); } GetNewsTickerListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetNewsTickerListUrl, model); } GetExternalLinkList(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetExternalLinkList, model); } GetBannerData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].BannerListUrl, model); } GetImportantDecisionListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementImportantDecisionListurl, model); } GetPostersListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetPostersListurl, model); } GetAudioListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAudioListurl, model); } GetAdvertisementListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAdvertisementListurl, model); } GetVideoListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetVideoListurl, model); } GetServicesOfferedbyDepartmentListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementByCatId + this.achievementEnum.ServicesOfferedbyDepartmentCode, model); } GetWebApplicationListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementByCatId + this.achievementEnum.WebsiteCode, model); } GetMobileApplicationListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementByCatId + this.achievementEnum.MobileApplicationCode, model); } GetProgramVideoListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementByCatId + this.achievementEnum.ProgramVideoCode, model); } GetCMSpeechListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementByCatId + this.achievementEnum.CMSpeechCode, model); } GetLetterstoCentralGovtListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementByCatId + this.achievementEnum.LetterstoCentralGovtCode, model); } GetAchievementListBySearchFilterData(model, isRequiredAttachImages = true) { return this._baseService.post(`${_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementListBySearchFilter}?isRequiredAttachImages=${isRequiredAttachImages}`, model); } GetIndiaPortalDetail(placeId) { return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetIndiaPortalDetailUrl + '?placeId=' + placeId); } GetPubicUtilityCount(depId) { return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetPubicUtilityCountUrl + '?depId=' + depId + '&department=true'); } GetCategoryWisePubicUtilityUrl(dptCode, categoryCode, id) { if (id > 0) { return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetCategoryWisePubicUtilityUrl + '?deptCode=' + dptCode + '&categoryCode=' + categoryCode + '&id=' + id + '&isdept=true'); } else { return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetCategoryWisePubicUtilityUrl + '?deptCode=' + dptCode + '&categoryCode=' + categoryCode + '&id=' + 0 + '&isdept=true'); } } GetDDLForAchievementActiveDepartmentByCatId(categoryCode, adminCode = 0) { const param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_1__[/* Dictionary */ "a"](); param.Add("id", categoryCode); param.Add("adminCode", adminCode); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetDDLForAchievementActiveDepartmentByCatId, param); } GetDDLForAchievementActiveAdminDepartmentByCatId(categoryCode) { const param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_1__[/* Dictionary */ "a"](); param.Add("id", categoryCode); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetDDLForAchievementActiveAdminDepartmentByCatId, param); } GetAchievementAttachmentsByDepartmentCode(dptdeCo, categoryCode) { return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].AchievementAttachmentsByDepartmentCodeURL + dptdeCo + '&categoryCode=' + categoryCode); } GetAcievementCatDetail(id) { var param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_1__[/* Dictionary */ "a"](); param.Add('id', id); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementCatDetailUrl, param); } GetAcievementSubCatDetail(id) { var param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_1__[/* Dictionary */ "a"](); param.Add('id', id); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAchievementSubCatDetailUrl, param); } //Need to writer into another class GetAdaUserFeedbackData(model, isRequiredAttachImages = true) { return this._baseService.post(`${_Model_app_setting__WEBPACK_IMPORTED_MODULE_0__[/* AppSetting */ "a"].GetAdaUserFeedbackListBySearchFilter}?isRequiredAttachImages=${isRequiredAttachImages}`, model); } } AchievementAwardService.ɵfac = function AchievementAwardService_Factory(t) { return new (t || AchievementAwardService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵinject */ "ec"](_base_service__WEBPACK_IMPORTED_MODULE_4__[/* BaseService */ "a"])); }; AchievementAwardService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_3__[/* ɵɵdefineInjectable */ "Rb"]({ token: AchievementAwardService, factory: AchievementAwardService.ɵfac, providedIn: 'root' }); return AchievementAwardService; })(); /***/ }), /***/ "Dxa7": /***/ (function(module, exports, __webpack_require__) { "use strict"; var __extends = (this && this.__extends) || /*@__PURE__*/ (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var Subscriber_1 = /*@__PURE__*/ __webpack_require__("FWf1"); var ArgumentOutOfRangeError_1 = /*@__PURE__*/ __webpack_require__("IKal"); var empty_1 = /*@__PURE__*/ __webpack_require__("aJGj"); function take(count) { return function (source) { if (count === 0) { return empty_1.empty(); } else { return source.lift(new TakeOperator(count)); } }; } exports.take = take; var TakeOperator = /*@__PURE__*/ (function () { function TakeOperator(total) { this.total = total; if (this.total < 0) { throw new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError; } } TakeOperator.prototype.call = function (subscriber, source) { return source.subscribe(new TakeSubscriber(subscriber, this.total)); }; return TakeOperator; }()); var TakeSubscriber = /*@__PURE__*/ (function (_super) { __extends(TakeSubscriber, _super); function TakeSubscriber(destination, total) { var _this = _super.call(this, destination) || this; _this.total = total; _this.count = 0; return _this; } TakeSubscriber.prototype._next = function (value) { var total = this.total; var count = ++this.count; if (count <= total) { this.destination.next(value); if (count === total) { this.destination.complete(); this.unsubscribe(); } } }; return TakeSubscriber; }(Subscriber_1.Subscriber)); /***/ }), /***/ "DxiF": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return OrderComponent; }); /* harmony import */ var src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("j672"); /* harmony import */ var src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Lexf"); /* harmony import */ var src_app_Shared_Model_app_setting__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("GAWG"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("AytR"); /* harmony import */ var src_app_Shared_Enum_order_enum__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("T5CN"); /* harmony import */ var src_app_Shared_Enum_lookup_type_enum__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("RVz6"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("fXoL"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("tyNb"); /* harmony import */ var src_app_Shared_Service_order_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("t7Da"); /* harmony import */ var src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("LYBR"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("sYmb"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("jhN1"); /* harmony import */ var src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("qVlC"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("ofXK"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("3Pt+"); /* harmony import */ var ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("hzby"); /* harmony import */ var ngx_pagination__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("oOf3"); /* harmony import */ var src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("GmSP"); /* harmony import */ var src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("/9+q"); function OrderComponent_li_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "li", 41); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "Documents_txt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r443 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" - ", ctx_r443.translate.currentLang != "en" ? ctx_r443.subTypeTitle.NameHindi : ctx_r443.subTypeTitle.NameEnglish, " "); } } function OrderComponent_li_7_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r444 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" (", ctx_r444.translate.currentLang != "en" ? ctx_r444.lookupTypeTitle.NameHindi : ctx_r444.lookupTypeTitle.NameEnglish, ") "); } } function OrderComponent_li_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "li", 41); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](2, OrderComponent_li_7_span_2_Template, 2, 1, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](3, OrderComponent_li_7_span_3_Template, 2, 1, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r414 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r414.translate.currentLang != "en" ? ctx_r414.pageTitle.NameHindi : ctx_r414.pageTitle.NameEnglish, " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r414.submenuCode && ctx_r414.subTypeTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r414.submenuCode && ctx_r414.lookupTypeTitle); } } function OrderComponent_div_12_option_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r446 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("value", item_r446.Value); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](item_r446.Text); } } function OrderComponent_div_12_Template(rf, ctx) { if (rf & 1) { const _r448 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_12_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r448); const ctx_r447 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r447.model.DistrictCode = $event; })("change", function OrderComponent_div_12_Template_select_change_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r448); const ctx_r449 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r449.getOffices(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_div_12_option_8_Template, 2, 2, "option", 43); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r415 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 4, "District_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r415.model.DistrictCode); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 6, "District_txt"), "--"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r415.dDLList == null ? null : ctx_r415.dDLList.ddlDistrict); } } function OrderComponent_div_13_option_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r451 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("value", item_r451.Value); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](item_r451.Text); } } function OrderComponent_div_13_Template(rf, ctx) { if (rf & 1) { const _r453 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_13_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r453); const ctx_r452 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r452.model.OfficeCatCode = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_div_13_option_8_Template, 2, 2, "option", 43); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r416 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 4, "OfficeCategorty_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r416.model.OfficeCatCode); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 6, "OfficeCategorty_txt"), "--"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r416.dDLList == null ? null : ctx_r416.dDLList.ddlOfficeCategory); } } function OrderComponent_div_14_option_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r455 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("value", item_r455.Value); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](item_r455.Text); } } function OrderComponent_div_14_Template(rf, ctx) { if (rf & 1) { const _r457 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_14_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r457); const ctx_r456 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r456.model.OfficeCode = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_div_14_option_8_Template, 2, 2, "option", 43); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r417 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 4, "Office_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r417.model.OfficeCode); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 6, "Office_txt"), "--"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r417.ddlOffice); } } function OrderComponent_div_15_option_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r459 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("value", item_r459.Value); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](item_r459.Text); } } function OrderComponent_div_15_Template(rf, ctx) { if (rf & 1) { const _r461 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_15_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r461); const ctx_r460 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r460.model.DesignationCode = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_div_15_option_8_Template, 2, 2, "option", 43); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r418 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 4, "Designation")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r418.model.DesignationCode); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 6, "Designation"), "--"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r418.dDLList == null ? null : ctx_r418.dDLList.ddlDptContactDesignation); } } function OrderComponent_div_16_option_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r463 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("value", item_r463.Value); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](item_r463.Text); } } function OrderComponent_div_16_Template(rf, ctx) { if (rf & 1) { const _r465 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_16_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r465); const ctx_r464 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r464.model.Type = $event; })("change", function OrderComponent_div_16_Template_select_change_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r465); const ctx_r466 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r466.GetSubType(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_div_16_option_8_Template, 2, 2, "option", 43); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r419 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 4, "Type_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r419.model.Type); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 6, "Type_txt"), "--"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r419.dDLList == null ? null : ctx_r419.dDLList.ddlOrderType); } } function OrderComponent_span_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "SubType_txt"), " "); } } function OrderComponent_span_20_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "DocumentType_txt"), " "); } } function OrderComponent_option_22_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "SubType_txt"), "--"); } } function OrderComponent_option_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "DocumentType_txt"), "--"); } } function OrderComponent_option_24_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 46); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r467 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngValue", item_r467.Value); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", item_r467.Text, ""); } } function OrderComponent_span_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "LookupType_txt"), " "); } } function OrderComponent_span_28_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "SchemeProgram_txt"), " "); } } function OrderComponent_option_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "LookupType_txt"), "--"); } } function OrderComponent_option_31_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "SchemeProgram_txt"), "--"); } } function OrderComponent_option_32_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 46); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r468 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngValue", item_r468.Id); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", item_r468.Lookup, ""); } } function OrderComponent_div_33_Template(rf, ctx) { if (rf & 1) { const _r470 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "input", 47); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_33_Template_input_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r470); const ctx_r469 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r469.model.OrderNo = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r430 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 3, "OrderCircularNotificationPolicyNo_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](5, 5, "OrderCircularNotificationPolicyNo_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r430.model.OrderNo); } } function OrderComponent_div_34_option_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 46); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r472 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngValue", item_r472.Value); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", item_r472.Text, ""); } } function OrderComponent_div_34_Template(rf, ctx) { if (rf & 1) { const _r474 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_34_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r474); const ctx_r473 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r473.model.BeneficiaryCategory = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_div_34_option_8_Template, 2, 2, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r431 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 4, "BeneficiaryCategory_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r431.model.BeneficiaryCategory); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 6, "BeneficiaryCategory_txt"), "--"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r431.dDLList == null ? null : ctx_r431.dDLList.ddlBeneficiaryCategory); } } function OrderComponent_div_53_option_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r476 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("value", item_r476.Value); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", item_r476.Text, " "); } } function OrderComponent_div_53_Template(rf, ctx) { if (rf & 1) { const _r478 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_53_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r478); const ctx_r477 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r477.model.DeptSectionCode = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_div_53_option_8_Template, 2, 2, "option", 43); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r434 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 4, "department_section_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r434.model.DeptSectionCode); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("--", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 6, "department_section_txt"), "--"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r434.ddlDptSection); } } function OrderComponent_div_54_Template(rf, ctx) { if (rf & 1) { const _r480 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_54_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r480); const ctx_r479 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r479.model.IndexModel.OrderBy = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6, "Date Of Issue"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](7, "option", 49); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](8, "Department"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](9, "option", 50); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](10, "Entry Number"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](11, "option", 51); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](12, "Lookup"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](13, "option", 52); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](14, "SubType"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](15, "option", 53); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](16, "Title"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](17, "option", 54); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](18, "Type"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](19, "option", 55); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](20, "DisplayOrder"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r435 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 2, "OrderBy_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r435.model.IndexModel.OrderBy); } } function OrderComponent_div_55_Template(rf, ctx) { if (rf & 1) { const _r482 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "select", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_div_55_Template_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r482); const ctx_r481 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r481.model.IndexModel.OrderByAsc = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "option", 56); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6, "Asc"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](7, "option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](8, "Desc"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r436 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 2, "OrderType_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r436.model.IndexModel.OrderByAsc); } } function OrderComponent_h1_74_ng_container_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "LatestUpdatetitle_txt"), " "); } } function OrderComponent_h1_74_ng_template_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](1, "translate"); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](1, 1, "Documents_txt"), " "); } } function OrderComponent_h1_74_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "h1", 57); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](1, "img", 58); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](4, OrderComponent_h1_74_ng_container_4_Template, 3, 3, "ng-container", 59); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](5, OrderComponent_h1_74_ng_template_5_Template, 2, 3, "ng-template", null, 60, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const _r484 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](6); const ctx_r437 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 4, "Documents_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("alt", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 6, "Documents_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r437.islatest)("ngIfElse", _r484); } } function OrderComponent_h1_75_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r486 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("- ", ctx_r486.translate.currentLang != "en" ? ctx_r486.subTypeTitle.NameHindi : ctx_r486.subTypeTitle.NameEnglish, ""); } } function OrderComponent_h1_75_span_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r487 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" (", ctx_r487.translate.currentLang != "en" ? ctx_r487.lookupTypeTitle.NameHindi : ctx_r487.lookupTypeTitle.NameEnglish, ") "); } } function OrderComponent_h1_75_Template(rf, ctx) { if (rf & 1) { const _r489 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "h1", 57); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "img", 61); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("error", function OrderComponent_h1_75_Template_img_error_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r489); const ctx_r488 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); return ctx_r488.commonService.onImageError($event, "assets/images/document_Icon.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](3, OrderComponent_h1_75_span_3_Template, 2, 1, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](4, OrderComponent_h1_75_span_4_Template, 2, 1, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r438 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r438.translate.currentLang != "en" ? ctx_r438.pageTitle.NameHindi : ctx_r438.pageTitle.NameEnglish); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r438.translate.currentLang != "en" ? ctx_r438.pageTitle.NameHindi : ctx_r438.pageTitle.NameEnglish); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("src", ctx_r438.pageTitle == null ? null : ctx_r438.pageTitle.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r438.translate.currentLang != "en" ? ctx_r438.pageTitle.NameHindi : ctx_r438.pageTitle.NameEnglish, " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r438.submenuCode && ctx_r438.subTypeTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r438.submenuCode && ctx_r438.lookupTypeTitle); } } function OrderComponent_div_83_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 62); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 63); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "svg", 64); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "path", 65); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r439 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", ctx_r439.previousUrl.PreviousUrl, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](5, 2, "ViewArchiveData_txt"), " "); } } function OrderComponent_ng_container_84_strong_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 75); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "Type_txt"), " / "); } } function OrderComponent_ng_container_84_span_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "SubType_txt"), " "); } } function OrderComponent_ng_container_84_span_12_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "DocumentType_txt"), " "); } } function OrderComponent_ng_container_84_span_15_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "LookupName_txt"), " "); } } function OrderComponent_ng_container_84_span_16_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "SchemeProgram_txt"), " "); } } function OrderComponent_ng_container_84_ng_container_23_span_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "strong", 75); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](4, " / "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](3, 1, "OrderNo_txt"), " "); } } function OrderComponent_ng_container_84_ng_container_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, OrderComponent_ng_container_84_ng_container_23_span_1_Template, 5, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r495 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx_r495.orderPublicPortal[0] == null ? null : ctx_r495.orderPublicPortal[0].TypeDocumentNoMandatory) == ctx_r495.orderValDocEnum.Yes); } } function OrderComponent_ng_container_84_ng_template_24_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 75); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](3, " / "); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "OrderNo_txt"), " "); } } function OrderComponent_ng_container_84_th_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 1, "Department_txt")); } } function OrderComponent_ng_container_84_tr_35_span_4_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "strong", 75); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2).$implicit; const ctx_r518 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r518.translate.currentLang != "en" ? item_r502.TypeNameHindi : item_r502.TypeName, " "); } } function OrderComponent_ng_container_84_tr_35_span_4_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 75); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1, "N/A"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } } function OrderComponent_ng_container_84_tr_35_span_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, OrderComponent_ng_container_84_tr_35_span_4_ng_container_1_Template, 3, 1, "ng-container", 59); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](2, OrderComponent_ng_container_84_tr_35_span_4_ng_template_2_Template, 2, 0, "ng-template", null, 84, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const _r519 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](3); const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r502.TypeName || item_r502.TypeNameHindi)("ngIfElse", _r519); } } function OrderComponent_ng_container_84_tr_35_ng_container_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r506 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r506.translate.currentLang != "en" ? item_r502.SubTypeNameHindi : item_r502.SubTypeName, " "); } } function OrderComponent_ng_container_84_tr_35_ng_template_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 75); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1, "N/A"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } } function OrderComponent_ng_container_84_tr_35_strong_16_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "strong", 75); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", item_r502.OrderNo, " "); } } function OrderComponent_ng_container_84_tr_35_td_20_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r510 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r510.translate.currentLang != "en" ? item_r502.DepartmentTitleHindi ? item_r502.DepartmentTitleHindi : item_r502.DepartmentTitle : item_r502.DepartmentTitle, " "); } } function OrderComponent_ng_container_84_tr_35_ul_23_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "li", 88); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 89); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "svg", 90); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "path", 91); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](4, "path", 92); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const attachment_r527 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", attachment_r527.Path, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); } } function OrderComponent_ng_container_84_tr_35_ul_23_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, OrderComponent_ng_container_84_tr_35_ul_23_ng_container_1_li_1_Template, 5, 1, "li", 87); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const attachment_r527 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", attachment_r527.Path && attachment_r527.IsAnnexure == false); } } function OrderComponent_ng_container_84_tr_35_ul_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "ul", 85); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, OrderComponent_ng_container_84_tr_35_ul_23_ng_container_1_Template, 2, 1, "ng-container", 86); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", item_r502.AttachmentList); } } function OrderComponent_ng_container_84_tr_35_ul_24_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "li", 88); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 93); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "svg", 94); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "path", 91); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](4, "path", 92); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const attachment_r533 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", attachment_r533 == null ? null : attachment_r533.Path, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); } } function OrderComponent_ng_container_84_tr_35_ul_24_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, OrderComponent_ng_container_84_tr_35_ul_24_ng_container_1_li_1_Template, 5, 1, "li", 87); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const attachment_r533 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (attachment_r533 == null ? null : attachment_r533.Path) && attachment_r533.IsAnnexure == true); } } function OrderComponent_ng_container_84_tr_35_ul_24_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "ul", 85); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, OrderComponent_ng_container_84_tr_35_ul_24_ng_container_1_Template, 2, 1, "ng-container", 86); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", item_r502.AttachmentList); } } function OrderComponent_ng_container_84_tr_35_ul_25_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "li", 88); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "a", 93); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "svg", 90); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "path", 91); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](4, "path", 92); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const attachment_r539 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", attachment_r539 == null ? null : attachment_r539.Path, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); } } function OrderComponent_ng_container_84_tr_35_ul_25_ng_container_1_a_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "a", 93); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "svg", 96); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](2, "path", 97); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "path", 98); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const attachment_r539 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", attachment_r539 == null ? null : attachment_r539.Path, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); } } function OrderComponent_ng_container_84_tr_35_ul_25_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, OrderComponent_ng_container_84_tr_35_ul_25_ng_container_1_li_1_Template, 5, 1, "li", 87); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](2, OrderComponent_ng_container_84_tr_35_ul_25_ng_container_1_a_2_Template, 4, 1, "a", 95); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const attachment_r539 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (attachment_r539 == null ? null : attachment_r539.Path) && attachment_r539.IsAnnexure == false && attachment_r539.Extension == ".pdf"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", attachment_r539.Extension != ".pdf"); } } function OrderComponent_ng_container_84_tr_35_ul_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "ul", 85); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](1, OrderComponent_ng_container_84_tr_35_ul_25_ng_container_1_Template, 3, 2, "ng-container", 86); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", item_r502.AttachmentList); } } function OrderComponent_ng_container_84_tr_35_a_26_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "a", 99); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "svg", 96); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](2, "path", 97); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "path", 98); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", item_r502 == null ? null : item_r502.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); } } function OrderComponent_ng_container_84_tr_35_a_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "a", 100); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "svg", 90); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](2, "path", 91); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](3, "path", 92); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", item_r502 == null ? null : item_r502.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); } } function OrderComponent_ng_container_84_tr_35_a_28_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "a", 101); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnamespaceSVG */ "lc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "svg", 102); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](2, "path", 103); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("href", item_r502 == null ? null : item_r502.Url, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵsanitizeUrl */ "Pc"]); } } function OrderComponent_ng_container_84_tr_35_a_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "a", 104); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const group_r504 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate1 */ "vc"]("routerLink", "/order/detail/", group_r504.Id, ""); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](2, 2, "ViewDetail_txt")); } } function OrderComponent_ng_container_84_tr_35_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "tr", 76); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](3, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](4, OrderComponent_ng_container_84_tr_35_span_4_Template, 4, 2, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](5, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](6, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](7, OrderComponent_ng_container_84_tr_35_ng_container_7_Template, 2, 1, "ng-container", 59); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_ng_container_84_tr_35_ng_template_8_Template, 2, 0, "ng-template", null, 77, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](10, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](12, "strong", 70); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](13); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](14, "date"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](15, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](16, OrderComponent_ng_container_84_tr_35_strong_16_Template, 2, 1, "strong", 69); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](17, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](18, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](19); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](20, OrderComponent_ng_container_84_tr_35_td_20_Template, 2, 1, "td", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](21, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](22, "div", 78); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](23, OrderComponent_ng_container_84_tr_35_ul_23_Template, 2, 1, "ul", 79); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](24, OrderComponent_ng_container_84_tr_35_ul_24_Template, 2, 1, "ul", 79); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](25, OrderComponent_ng_container_84_tr_35_ul_25_Template, 2, 1, "ul", 79); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](26, OrderComponent_ng_container_84_tr_35_a_26_Template, 4, 1, "a", 80); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](27, OrderComponent_ng_container_84_tr_35_a_27_Template, 4, 1, "a", 81); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](28, OrderComponent_ng_container_84_tr_35_a_28_Template, 3, 1, "a", 82); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](29, OrderComponent_ng_container_84_tr_35_a_29_Template, 3, 4, "a", 83); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r502 = ctx.$implicit; const i_r503 = ctx.index; const _r507 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](9); const ctx_r499 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", (ctx_r499.indexModel.Page - 1) * ctx_r499.indexModel.PageSize + (i_r503 + 1), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r499.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r502.SubTypeName || item_r502.SubTypeNameHindi)("ngIfElse", _r507); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r499.translate.currentLang != "en" ? item_r502.LookupNameHindi : item_r502.LookupName, ""); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind2 */ "pc"](14, 16, item_r502.Date, ctx_r499.DateFormat)); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r502.TypeDocumentNoMandatory == ctx_r499.orderValDocEnum.Yes); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](item_r502.Title); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r499.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r502.AttachmentList && item_r502.AttachmentList.length > 0 && item_r502.IsOldOrder == true && item_r502.IsAnnexure == false); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r502.AttachmentList && item_r502.AttachmentList.length > 0 && item_r502.IsOldOrder == false && item_r502.IsAnnexure == true); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r502.AttachmentList && item_r502.AttachmentList.length > 0 && item_r502.IsOldOrder == false && item_r502.IsAnnexure == false); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r499.isImage(item_r502.ImagePath)); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r499.isPdf(item_r502.ImagePath)); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", item_r502.Url); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r499.islatest); } } function OrderComponent_ng_container_84_div_37_option_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 112); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } } function OrderComponent_ng_container_84_div_37_option_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 113); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } } function OrderComponent_ng_container_84_div_37_option_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 114); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } } function OrderComponent_ng_container_84_div_37_option_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "option", 115); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](1, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } } function OrderComponent_ng_container_84_div_37_Template(rf, ctx) { if (rf & 1) { const _r555 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "div", 105); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "select", 106); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_ng_container_84_div_37_Template_select_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r555); const ctx_r554 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); return ctx_r554.model.IndexModel.PageSize = $event; })("change", function OrderComponent_ng_container_84_div_37_Template_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r555); const ctx_r556 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); return ctx_r556.changePageSize($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "option", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](5, OrderComponent_ng_container_84_div_37_option_5_Template, 2, 0, "option", 107); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](6, OrderComponent_ng_container_84_div_37_option_6_Template, 2, 0, "option", 108); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](7, OrderComponent_ng_container_84_div_37_option_7_Template, 2, 0, "option", 109); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](8, OrderComponent_ng_container_84_div_37_option_8_Template, 2, 0, "option", 110); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](9, "pagination-controls", 111); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("pageChange", function OrderComponent_ng_container_84_div_37_Template_pagination_controls_pageChange_9_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r555); const ctx_r557 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); return ctx_r557.getNextPageRecord($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](10, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](11, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r500 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx_r500.model.IndexModel.PageSize); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("value", ctx_r500.totalRecords); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](4, 9, "All_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r500.totalRecords > 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r500.totalRecords > 25); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r500.totalRecords > 50); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r500.totalRecords > 100); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("previousLabel", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](10, 11, "Previous_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("nextLabel", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](11, 13, "Next_txt")); } } function OrderComponent_ng_container_84_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "div", 66); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "table", 67); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](3, "thead"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](4, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](5, "th", 68); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](7, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](8, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](9, OrderComponent_ng_container_84_strong_9_Template, 3, 3, "strong", 69); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](10, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](11, OrderComponent_ng_container_84_span_11_Template, 3, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](12, OrderComponent_ng_container_84_span_12_Template, 3, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](13, " / "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](14, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](15, OrderComponent_ng_container_84_span_15_Template, 3, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](16, OrderComponent_ng_container_84_span_16_Template, 3, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](17, "/ "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](18, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](19, "strong", 70); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](20); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](21, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](22, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](23, OrderComponent_ng_container_84_ng_container_23_Template, 2, 1, "ng-container", 59); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](24, OrderComponent_ng_container_84_ng_template_24_Template, 4, 3, "ng-template", null, 71, _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](26, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](27, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](28); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](29, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](30, OrderComponent_ng_container_84_th_30_Template, 3, 3, "th", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](31, "th", 72); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](32); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](33, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](34, "tbody"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](35, OrderComponent_ng_container_84_tr_35_Template, 30, 19, "tr", 73); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](36, "paginate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](37, OrderComponent_ng_container_84_div_37_Template, 12, 15, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const _r496 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](25); const ctx_r440 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](7, 14, "SrNo_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r440.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r440.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r440.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r440.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r440.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](21, 16, "DateofIssue_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx_r440.model == null ? null : ctx_r440.model.Type) > 0)("ngIfElse", _r496); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](29, 18, "Title_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r440.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](33, 20, "Documents_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind2 */ "pc"](36, 22, ctx_r440.orderPublicPortal, ctx_r440.pagerConfig)); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r440.totalRecords >= (ctx_r440.indexModel == null ? null : ctx_r440.indexModel.PageSize)); } } function OrderComponent_app_mini_loader_85_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function OrderComponent_app_no_records_86_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](0, "app-no-records", 116); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("showImage", true); } } const _c0 = function (a1) { return { containerClass: "theme-dark-blue", dateInputFormat: a1, showWeekNumbers: false }; }; let OrderComponent = /*@__PURE__*/ (() => { class OrderComponent { constructor(route, router, orderService, commonService, translate, _orderService, _titleService, sanitizer, _distDeptService) { this.route = route; this.router = router; this.orderService = orderService; this.commonService = commonService; this.translate = translate; this._orderService = _orderService; this._titleService = _titleService; this.sanitizer = sanitizer; this._distDeptService = _distDeptService; this.pageName = ""; this.orderTypeCode = 0; this.orderSubTypeCode = 0; this.lookupCode = 0; this.offCatCode = 0; this.sectionCode = 0; this.indexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.totalRecords = 0; this.model = new src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_1__[/* OrderEntryfrontModel */ "d"](); this.dDLList = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* DDLModel */ "b"](); this.DateFormat = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__[/* environment */ "a"].DateFormat; this.DatePickerFormat = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__[/* environment */ "a"].DatePickerFormat; this.minimumDate = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__[/* environment */ "a"].MinimumDate; this.ddlDepartment = []; this.orderValDocEnum = src_app_Shared_Enum_order_enum__WEBPACK_IMPORTED_MODULE_4__[/* OrderTypeValidationForDocNoEnum */ "f"]; this.orderTypeEnum = src_app_Shared_Enum_order_enum__WEBPACK_IMPORTED_MODULE_4__[/* OrderTypeEnum */ "e"]; this.isStatePolicy = false; this.ddlOrderSubType = []; this.lookupList = []; this.previousUrlList = []; this.previousUrl = undefined; this.ddlOffice = []; this.isLatest = false; this.submenuCode = 0; this.ddlDptSection = []; this.lookupEnum = src_app_Shared_Enum_lookup_type_enum__WEBPACK_IMPORTED_MODULE_5__[/* LookupEnum */ "a"]; this.isOptimized = false; this.islatest = 0; if (this.router.url.split('/')[3] == 'latest') { this.isLatest = true; } if (this.router.url.split('/')[3] == 'optimized') { this.isOptimized = true; this.GetLookupListForOptimized(); } } ngOnInit() { this.getOffices(); this.route.paramMap.subscribe((params) => { this.pageName = ''; this.indexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.totalRecords = 0; this.orderPublicPortal = []; this.model = new src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_1__[/* OrderEntryfrontModel */ "d"](); this.subTypeTitle = undefined; this.dDLList = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* DDLModel */ "b"](); this.filterDDlModel = []; this.ddlDepartment = []; this.isStatePolicy = false; this.ddlOrderSubType = []; this.previousUrl = undefined; this.indexModel.OrderBy = 'Date'; this.indexModel.PageSize = 10; this.pageTitle = undefined; // department-order/:dptCode/:typeCode/:subTypeCode/:lookupCode/:officeCode/:offCatCode/:sectionCode let _deptCode = params.get("dptCode"); this.model.DepartmentCode = Number(_deptCode || this.commonService.GetWebDistDeptCode()); this.getSectionByDptCode(this.model.DepartmentCode); let _typeCode = params.get('typeCode'); this.orderTypeCode = Number(_typeCode || 0); let _subTypeCode = params.get('subTypeCode'); this.orderSubTypeCode = Number(_subTypeCode || 0); let _lookupCode = params.get('lookupCode'); this.lookupCode = Number(_lookupCode || 0); let _officeCode = params.get("officeCode"); this.model.OfficeCode = Number(_officeCode || 0); let _offCatCode = params.get('offCatCode'); this.offCatCode = Number(_offCatCode || 0); let _sectionCode = params.get('sectionCode'); this.sectionCode = Number(_sectionCode || 0); let _submenuCode = params.get('submenuCode'); this.submenuCode = Number(_submenuCode || 0); let url = this.router.url.replace('/', '').split('/'); this.pageName = url[url.length - 2]; if (this.pageName == 'state-policy') { this.orderTypeCode = this.orderTypeEnum.Policy; this.isStatePolicy = true; } if (this.pageName == 'latest') { this.islatest = 1; } if (this.orderTypeCode) { this.model.Type = String(this.orderTypeCode); this.GetSubType(); } if (this.orderSubTypeCode) { this.model.SubTypeCode = String(this.orderSubTypeCode); this.getOrderSubTypeDetail(); this.GetLookupList(); } if (this.lookupCode) { this.model.LookupCode = this.lookupCode; } if (this.offCatCode) { this.model.OfficeCatCode = this.offCatCode; } if (this.sectionCode) { this.model.DeptSectionCode = String(this.sectionCode); } this.pagerConfig = { id: "order", itemsPerPage: this.indexModel.PageSize, currentPage: this.indexModel.Page, totalItems: this.totalRecords }; this.saveFilterAndGet(); this.getPreviousUrl(); setTimeout(() => { this.GetDDLList(); }, 200); this.getPageHeading(); }); } getPageHeading() { if (this.submenuCode > 0) { this.getSubmenuDetail(); } else if (this.orderTypeCode > 0) { this.getOrderTypeDetail(); } } getSubmenuDetail() { this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(res => { if (res.IsSuccess) { let submenu = res.Data; if (submenu) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = submenu.DisplayNameEnglish; this.pageTitle.NameHindi = submenu.DisplayNameHindi; this.pageTitle.ImagePath = submenu.IconImage; this.commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } } }, error => { }); } reset() { this.model = new src_app_Shared_Model_order_view_model__WEBPACK_IMPORTED_MODULE_1__[/* OrderEntryfrontModel */ "d"](); this.model.DepartmentCode = Number(this.commonService.GetWebDistDeptCode()); this.route.paramMap.subscribe((params) => { if (params.get('typeCode')) { this.model.Type = String(params.get('typeCode')); } if (params.get('subTypeCode')) { this.model.SubTypeCode = String(params.get('subTypeCode')); } }); sessionStorage.removeItem("isHistoryBack"); sessionStorage.removeItem("orderFilter"); this.saveFilterAndGet(); } getOrderTypeDetail() { this._orderService.GetOrderTypeDetail(this.orderTypeCode).subscribe(data => { if (data.IsSuccess) { let orderType = data.Data; if (orderType) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* PageTitleModel */ "f"](); if (this.isStatePolicy) { this.pageTitle.NameEnglish = 'State Policy'; this.pageTitle.NameHindi = 'राज्य नीति'; } else { this.pageTitle.NameEnglish = orderType.Name; this.pageTitle.NameHindi = orderType.NameHindi; } this.pageTitle.ImagePath = orderType.ImagePath; this.commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } } }, error => { console.error(error); }); } getOrderSubTypeDetail() { this._orderService.GetOrderSubTypeDetail(this.orderSubTypeCode).subscribe(data => { if (data.IsSuccess) { let orderSubType = data.Data; if (orderSubType) { this.subTypeTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* PageTitleModel */ "f"](); this.subTypeTitle.NameEnglish = orderSubType.Name; this.subTypeTitle.NameHindi = orderSubType.NameHindi; } } }, error => { console.error(error); }); } GetList() { debugger; this.orderPublicPortal = undefined; this.model.IndexModel = this.indexModel; this.model.IsLatest = this.isLatest ? 1 : -1; this.getFilter(); this.orderService.Get(this.model).subscribe(data => { var _a, _b, _c, _d; this.orderPublicPortal = []; if (data.IsSuccess) { this.orderPublicPortal = (_b = (_a = data) === null || _a === void 0 ? void 0 : _a.Data) === null || _b === void 0 ? void 0 : _b.Data; if (!this.indexModel.IsPostBack) { this.totalRecords = (_d = (_c = data) === null || _c === void 0 ? void 0 : _c.Data) === null || _d === void 0 ? void 0 : _d.TotalRecords; } this.updatePageConfig(); } else { this.totalRecords = 0; } // this.IsLoading = false; }, error => { console.error(error.message); this.orderPublicPortal = []; }); } GetDDLList() { if (sessionStorage.getItem("odrDDL") != undefined) { this.dDLList = JSON.parse(sessionStorage.getItem("odrDDL")); } else { this._distDeptService.GetAllDDL(src_app_Shared_Model_app_setting__WEBPACK_IMPORTED_MODULE_2__[/* AppSetting */ "a"].DDLKeyForOrderEntry).subscribe(data => { var _a; if (data.IsSuccess) { this.dDLList = (_a = data) === null || _a === void 0 ? void 0 : _a.Data; //dDLList?.ddlAdminDepartmentOrder //dDLList?.ddlDepartmentOrder sessionStorage.setItem("odrDDL", JSON.stringify(this.dDLList)); } }, error => { console.error(error.message); }); } } GetSubType() { this.model.SubTypeCode = 0; this.ddlOrderSubType = []; if (Number(this.model.DepartmentCode || 0) > 0 || Number(this.model.Type || 0) > 0) { this._distDeptService.GetOrderSubTypesByFilter(Number(this.model.Type), Number(this.model.DepartmentCode)).subscribe(data => { if (data.IsSuccess) { this.ddlOrderSubType = data.Data; } }, error => { // this._alertService.error(error.message); }); } } GetLookupList() { console.log('Uploaded'); let id = this.model.SubTypeCode; if (Number(this.model.SubTypeCode || 0) > 0) this._orderService.GetLookupTypeListByOrderDocumentSubTypeId(this.model.SubTypeCode).subscribe((data) => { if (data.IsSuccess) { this.lookupList = data.Data; if (this.lookupCode) { this.lookupTypeTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* PageTitleModel */ "f"](); this.lookupTypeFiltered = data.Data.filter(x => x.Id == this.lookupCode); this.lookupTypeTitle.NameEnglish = this.lookupTypeFiltered[0].Lookup; this.lookupTypeTitle.NameHindi = this.lookupTypeFiltered[0].NameHindi; } } }, (error) => { console.error(error.message); }); } GetLookupListForOptimized() { this._orderService.GetLookupTypeListForOrderDocument().subscribe((data) => { if (data.IsSuccess) { this.lookupList = data.Data; } }, (error) => { console.error(error.message); }); } saveFilterAndGet() { this.saveFilter(); var IsLatestUpdate = JSON.parse(localStorage.getItem("IsLatestUpdate")); if (IsLatestUpdate) { let MinimumDate = new Date(new Date().getTime() - (15 * 24 * 60 * 60 * 1000)); let uTCDate = new Date(Date.UTC(new Date(MinimumDate).getFullYear(), new Date(MinimumDate).getMonth(), new Date(MinimumDate).getDate())).toISOString(); this.model.EntryFromDate = uTCDate; } this.GetList(); } getFilter() { if (JSON.parse(sessionStorage.getItem("isHistoryBack")) == true && sessionStorage.getItem("orderFilter") != undefined) { sessionStorage.removeItem("isHistoryBack"); this.model = JSON.parse(sessionStorage.getItem("orderFilter")); this.indexModel = this.model.IndexModel; this.updatePageConfig(); if (Number(this.model.Type || 0) > 0 && Number(this.model.SubTypeCode || 0) == 0) { this.GetSubType(); } } } saveFilter() { this.model.IndexModel = this.indexModel; sessionStorage.setItem("orderFilter", JSON.stringify(this.model)); } getPreviousUrl() { if (this.model.DepartmentCode && this.model.Type) { let deptCode = Number(this.model.DepartmentCode); let typeCode = Number(this.model.Type); let subTypeCode = Number(this.model.SubTypeCode) || 0; let officeCode = this.model.OfficeCode ? Number(this.model.OfficeCode) : 0; let lookupCode = this.model.LookupCode ? Number(this.model.LookupCode) : 0; this._orderService.GetPreviousUrl(deptCode, officeCode, typeCode, subTypeCode, lookupCode).subscribe((response) => { if (response.IsSuccess) { if (response.Data) { this.previousUrlList = response.Data; if (this.previousUrlList && this.previousUrlList.length > 0) { this.previousUrl = this.previousUrlList[0]; if (this.previousUrl.PreviousUrl && this.previousUrl.UrlSourceCode == this.lookupEnum.OrderPreviousUrlSource_DepartmentPage) { let deptPageCode = this.previousUrl.PreviousUrl.replace(/[^0-9]/g, ''); this.previousUrl.DepartmentPageCode = Number(deptPageCode || 0); } } } } }, (error) => { //this._alertService.error(error.message); }); } } //#region paging getNextPageRecord(page) { window.scroll(0, 0); this.indexModel.IsPostBack = true; this.indexModel.Page = page; this.saveFilterAndGet(); } changePageSize(value) { window.scroll(0, 0); this.indexModel.IsPostBack = true; this.indexModel.PageSize = Number(value); this.indexModel.Page = 1; this.saveFilterAndGet(); } updatePageConfig() { this.pagerConfig = { itemsPerPage: this.indexModel.PageSize, currentPage: this.indexModel.Page, totalItems: this.totalRecords }; } //#endregion ngOnDestroy() { localStorage.removeItem("IsLatestUpdate"); } onChangepreviousUrl() { if ((this.model.DepartmentCode && this.model.Type) && (this.model.SubTypeCode || this.model.LookupCode)) { var orderPreviousUrllist = this.previousUrlList.filter(z => (z.DepartmentCode == Number(this.model.DepartmentCode) && z.TypeCode == Number(this.model.Type)) && (z.SubTypeCode == this.model.SubTypeCode ? Number(this.model.SubTypeCode) : false || z.LookupCode == this.model.LookupCode ? Number(this.model.LookupCode) : 0)); if (orderPreviousUrllist && orderPreviousUrllist.length > 0) { this.previousUrl = orderPreviousUrllist[0]; if (this.previousUrl.PreviousUrl && this.previousUrl.UrlSourceCode == this.lookupEnum.OrderPreviousUrlSource_DepartmentPage) { let deptPageCode = this.previousUrl.PreviousUrl.replace(/[^0-9]/g, ''); this.previousUrl.DepartmentPageCode = Number(deptPageCode || 0); } } } } getOffices() { if (this.commonService.GetWebDistDeptCode() > 0) { this.commonService.GetOfficesFor(Number(this.commonService.GetWebDistDeptCode()), 0).subscribe((response) => { if (response.IsSuccess) { this.ddlOffice = response.Data; } }); return; } } getSectionByDptCode(code) { this.commonService.GetDptSectionBydptCode(code).subscribe(data => { if (data.IsSuccess) { this.ddlDptSection = data.Data; } }, error => { }); } isPdf(path) { if (!path) return false; return path.toLowerCase().endsWith('.pdf'); } isImage(path) { if (!path) return false; return /\.(jpg|jpeg|png|gif|webp)$/i.test(path); } } OrderComponent.ɵfac = function OrderComponent_Factory(t) { return new (t || OrderComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_7__[/* ActivatedRoute */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_7__[/* Router */ "b"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_order_service__WEBPACK_IMPORTED_MODULE_8__[/* OrderService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_9__[/* CommonService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__[/* TranslateService */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_order_service__WEBPACK_IMPORTED_MODULE_8__[/* OrderService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_11__[/* Title */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_11__[/* DomSanitizer */ "b"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_12__[/* DptDistrictWebsiteService */ "a"])); }; OrderComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdefineComponent */ "Pb"]({ type: OrderComponent, selectors: [["app-order"]], decls: 87, vars: 68, consts: [["aria-label", "breadcrumb", 1, "breadcrumb_nav"], [1, "breadcrumb"], [1, "breadcrumb-item"], [3, "routerLink"], ["class", "breadcrumb-item active", "aria-current", "page", 4, "ngIf"], [1, "order_page"], [1, "orders_filter"], [1, "container-fluid"], [1, "row", "justify-content-center"], ["class", "col-xl-3 col-lg-3 col-sm-6 col-12 wow fadeInUp", 4, "ngIf"], [1, "col-xl-3", "col-lg-3", "col-sm-6", "col-12", "wow", "fadeInUp"], [4, "ngIf"], [1, "form-control", 3, "ngModel", "ngModelChange", "change"], ["value", "0", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-control", 3, "ngModel", "change", "ngModelChange"], ["class", "col-xl-3 col-lg-3 col-sm-6 col-12 wow fadeInUp", 4, "ngIf"], [1, "col-xl-3", "col-lg-3", "col-sm-6", "col-12", "calendar-icon-date", "fadeInUp"], ["type", "text", "bsDatepicker", "", 1, "form-control", 3, "placeholder", "ngModel", "bsConfig", "minDate", "ngModelChange"], ["FromDate", "bsDatepicker"], [1, "fas", "fa-calendar-alt", 3, "click"], ["ToDate", "bsDatepicker"], [1, "input-group-addon"], [1, "glyphicon", "glyphicon-calendar"], [1, "col-lg-2", "col-sm-6", "col-12"], [1, "btn", "btn-success", "filter-btn", "d-block", "w-100", 2, "border", "none", 3, "click"], [1, "fas", "fa-search", "mr-2"], [1, "btn", "btn-danger", "filter-btn", "d-block", "w-100", 2, "border", "none", 3, "click"], [1, "fas", "fa-redo-alt", "mr-2"], [1, "order-list"], [1, "row"], [1, "col-xl-12"], ["class", "title text-center", 4, "ngIf"], [1, "row", "mb-5", "scheme_search", "align-items-center"], [1, "input-group", "col-md-5"], ["type", "search", "aria-label", "Search", 1, "form-control", 3, "ngModel", "placeholder", "ngModelChange"], [1, "input-group-append"], [1, "btn", 3, "click"], [1, "fas", "fa-search"], ["class", "col-md-7 text-right mt-3 mt-md-0", 4, "ngIf"], [3, "showImage", 4, "ngIf"], ["aria-current", "page", 1, "breadcrumb-item", "active"], ["value", "0"], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"], [1, "form-control", 3, "ngModel", "ngModelChange"], [3, "ngValue"], ["type", " text", 1, "form-control", 3, "ngModel", "placeholder", "ngModelChange"], ["value", "Date"], ["value", "Department"], ["value", "EntryNumber"], ["value", "Lookup"], ["value", "SubType"], ["value", "Title"], ["value", "Type"], ["value", "DisplayOrder"], ["value", "1"], [1, "title", "text-center"], ["src", "assets/images/document_Icon.png", 1, "img-fluid", 2, "max-width", "45px", 3, "title", "alt"], [4, "ngIf", "ngIfElse"], ["docTitle", ""], [1, "img-fluid", 2, "max-width", "45px", 3, "src", "title", "alt", "error"], [1, "col-md-7", "text-right", "mt-3", "mt-md-0"], ["target", "_blank", 1, "btn", "btn-theme", "btn-yellow", "py-2", 2, "font-size", "100%", 3, "href"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "fill", "#fff", "viewBox", "0 0 16 16", 1, "mr-1"], ["d", "M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4a9.267 9.267 0 0 1 .64-1.539 6.7 6.7 0 0 1 .597-.933A7.025 7.025 0 0 0 2.255 4H4.09zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a6.958 6.958 0 0 0-.656 2.5h2.49zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5H4.847zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5H4.51zm3.99 0V11h2.653c.187-.765.156-1.608.338-2.5H8.5zM5.145 12c.138.386.295.744.468 1.068.552 1.035 1.218 1.65 1.887 1.855V12H5.145zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11a13.652 13.652 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5H3.82zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855.173-.324.33-.682.468-1.068H8.5zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5a6.959 6.959 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5h2.49zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4a7.966 7.966 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4h2.355z"], [1, "table-responsive"], [1, "table", "table-striped", "table-bordered", "table-new-design", "mx-100"], ["width", "80"], ["class", "badge badge-info", 4, "ngIf"], [1, "text-orange"], ["elseHeader", ""], [2, "width", "250px"], ["class", "hovercolor", 4, "ngFor", "ngForOf"], ["class", "new-pagination-outer", 4, "ngIf"], [1, "badge", "badge-info"], [1, "hovercolor"], ["blankSTypeName", ""], [1, "d-flex", "table-action-media-list", "align-items-center", "mb-2"], ["class", "image-list", 4, "ngIf"], ["title", "Document Image", "target", "_blank", "class", "text-info mr-2", 3, "href", 4, "ngIf"], ["title", "Document PDF", "target", "_blank", "class", "text-info mr-2", 3, "href", 4, "ngIf"], ["title", "Document Url", "target", "_blank", "class", "text-primary mr-2", 3, "href", 4, "ngIf"], ["style", "font-size: 100%;", "class", "btn btn-dark px-2 py-1", "title", "detail", 3, "routerLink", 4, "ngIf"], ["blankTypeName", ""], [1, "image-list"], [4, "ngFor", "ngForOf"], ["class", "", 4, "ngIf"], [1, ""], ["target", "_blank", "title", "first file", 1, "text-danger", 3, "href"], ["xmlns", "http://www.w3.org/2000/svg", "width", "50", "height", "50", "fill", "currentColor", "viewBox", "0 0 16 16", 1, "bi", "bi-file-earmark-pdf"], ["d", "M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z"], ["d", "M4.603 14.087a.81.81 0 0 1-.438-.42c-.195-.388-.13-.776.08-1.102.198-.157.526-.568.897-.787a7.68 7.68 0 0 1 1.482-.645 19.697 19.697 0 0 0 1.062-2.227 7.269 7.269 0 0 1-.43-1.295c-.086-.4-.119-.796-.046-1.136.075-.354.274-.672.65-.823.192-.077.4-.12.602-.077a.7.7 0 0 1 .477.365c.088.164.12.356.127.538.007.188-.012.396-.047.614-.084.51-.27 1.134-.52 1.794a10.954 10.954 0 0 0 .98 1.686 5.753 5.753 0 0 1 1.334.05c.364.066.734.195.96.465.12.144.193.32.2.518.007.192-.047.382-.138.563a1.04 1.04 0 0 1-.354.416.856.856 0 0 1-.51.138c-.331-.014-.654-.196-.933-.417a5.712 5.712 0 0 1-.911-.95 11.651 11.651 0 0 0-1.997.406 11.157 11.157 0 0 1-1.02 1.51c-.292.35-.609.656-.927.787a.793.793 0 0 1-.58.029zm1.379-1.901c-.166.076-.32.156-.459.238-.328.194-.541.383-.647.547-.094.145-.096.25-.04.361.01.022.02.036.026.044a.266.266 0 0 0 .035-.012c.137-.056.355-.235.635-.572a8.18 8.18 0 0 0 .45-.606zm1.64-1.33a12.71 12.71 0 0 1 1.01-.193 11.744 11.744 0 0 1-.51-.858 20.801 20.801 0 0 1-.5 1.05zm2.446.45c.15.163.296.3.435.41.24.19.407.253.498.256a.107.107 0 0 0 .07-.015.157.157 0 0 0 .094-.125.436.436 0 0 0 .059-.2.095.095 0 0 0-.026-.063c-.052-.062-.2-.152-.518-.209a3.876 3.876 0 0 0-.612-.053zM8.078 7.8a6.7 6.7 0 0 0 .2-.828c.031-.188.043-.343.038-.465a.613.613 0 0 0-.032-.198.517.517 0 0 0-.145.04c-.087.035-.158.106-.196.283-.04.192-.03.469.046.822.024.111.054.227.09.346z"], ["target", "_blank", "title", "Second file", 1, "text-danger", 3, "href"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "fill", "currentColor", "viewBox", "0 0 16 16", 1, "bi", "bi-file-earmark-pdf"], ["class", "text-danger", "target", "_blank", "title", "Second file", 3, "href", 4, "ngIf"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "fill", "currentColor", "viewBox", "0 0 16 16", 1, "bi", "bi-images"], ["d", "M4.502 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"], ["d", "M14.002 13a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2V5A2 2 0 0 1 2 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v8a2 2 0 0 1-1.998 2zM14 2H4a1 1 0 0 0-1 1h9.002a2 2 0 0 1 2 2v7A1 1 0 0 0 15 11V3a1 1 0 0 0-1-1zM2.002 4a1 1 0 0 0-1 1v8l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1.947V5a1 1 0 0 0-1-1h-10z"], ["title", "Document Image", "target", "_blank", 1, "text-info", "mr-2", 3, "href"], ["title", "Document PDF", "target", "_blank", 1, "text-info", "mr-2", 3, "href"], ["title", "Document Url", "target", "_blank", 1, "text-primary", "mr-2", 3, "href"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "fill", "currentColor", "viewBox", "0 0 16 16", 1, "bi", "bi-globe2"], ["d", "M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539c.142-.384.154-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49zM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.49zm1.4-2.741a12.344 12.344 0 0 0-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.151-2.591.332zM4.51 8.5c.035.987.176 1.914.399 2.741A13.612 13.612 0 0 1 7.5 10.91V8.5H4.51zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343a7.765 7.765 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287z"], ["title", "detail", 1, "btn", "btn-dark", "px-2", "py-1", 2, "font-size", "100%", 3, "routerLink"], [1, "new-pagination-outer"], ["name", "example_length", "aria-controls", "example", 1, "form-control-sm", 2, "width", "70px", 3, "ngModel", "ngModelChange", "change"], ["value", "10", 4, "ngIf"], ["value", "25", 4, "ngIf"], ["value", "50", 4, "ngIf"], ["value", "100", 4, "ngIf"], ["autoHide", "true", 1, "w-100", "text-center", "mt-4", 3, "previousLabel", "nextLabel", "pageChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], [3, "showImage"]], template: function OrderComponent_Template(rf, ctx) { if (rf & 1) { const _r558 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](0, "nav", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](1, "ol", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](2, "li", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](3, "a", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](6, OrderComponent_li_6_Template, 3, 3, "li", 4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](7, OrderComponent_li_7_Template, 4, 3, "li", 4); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](8, "section", 5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](9, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](10, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](11, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](12, OrderComponent_div_12_Template, 9, 8, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](13, OrderComponent_div_13_Template, 9, 8, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](14, OrderComponent_div_14_Template, 9, 8, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](15, OrderComponent_div_15_Template, 9, 8, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](16, OrderComponent_div_16_Template, 9, 8, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](17, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](18, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](19, OrderComponent_span_19_Template, 3, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](20, OrderComponent_span_20_Template, 3, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](21, "select", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_Template_select_ngModelChange_21_listener($event) { return ctx.model.SubTypeCode = $event; })("change", function OrderComponent_Template_select_change_21_listener() { ctx.GetLookupList(); return ctx.onChangepreviousUrl(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](22, OrderComponent_option_22_Template, 3, 3, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](23, OrderComponent_option_23_Template, 3, 3, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](24, OrderComponent_option_24_Template, 2, 2, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](25, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](26, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](27, OrderComponent_span_27_Template, 3, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](28, OrderComponent_span_28_Template, 3, 3, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](29, "select", 15); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("change", function OrderComponent_Template_select_change_29_listener() { return ctx.onChangepreviousUrl(); })("ngModelChange", function OrderComponent_Template_select_ngModelChange_29_listener($event) { return ctx.model.LookupCode = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](30, OrderComponent_option_30_Template, 3, 3, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](31, OrderComponent_option_31_Template, 3, 3, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](32, OrderComponent_option_32_Template, 2, 2, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](33, OrderComponent_div_33_Template, 6, 7, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](34, OrderComponent_div_34_Template, 9, 8, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](35, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](36, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](37); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](38, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](39, "input", 18, 19); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_Template_input_ngModelChange_39_listener($event) { return ctx.model.FromDate = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](41, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](42, "i", 20); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("click", function OrderComponent_Template_i_click_42_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r558); const _r432 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](40); return _r432.toggle(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](43, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](44, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](45); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](46, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](47, "input", 18, 21); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_Template_input_ngModelChange_47_listener($event) { return ctx.model.ToDate = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](49, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](50, "i", 20); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("click", function OrderComponent_Template_i_click_50_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵrestoreView */ "Mc"](_r558); const _r433 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](48); return _r433.toggle(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](51, "span", 22); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](52, "span", 23); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](53, OrderComponent_div_53_Template, 9, 8, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](54, OrderComponent_div_54_Template, 21, 4, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](55, OrderComponent_div_55_Template, 9, 4, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](56, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](57, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](58, "\u00A0"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](59, "button", 25); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("click", function OrderComponent_Template_button_click_59_listener() { ctx.indexModel.Page = 1; return ctx.saveFilterAndGet(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](60, "i", 26); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](61); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](62, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](63, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](64, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](65, "\u00A0"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](66, "button", 27); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("click", function OrderComponent_Template_button_click_66_listener() { return ctx.reset(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](67, "i", 28); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtext */ "Vc"](68); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](69, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](70, "section", 29); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](71, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](72, "div", 30); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](73, "div", 31); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](74, OrderComponent_h1_74_Template, 7, 8, "h1", 32); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](75, OrderComponent_h1_75_Template, 5, 6, "h1", 32); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](76, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](77, "div", 34); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](78, "input", 35); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("ngModelChange", function OrderComponent_Template_input_ngModelChange_78_listener($event) { return ctx.model.Search = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipe */ "nc"](79, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](80, "div", 36); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementStart */ "ac"](81, "button", 37); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵlistener */ "ic"]("click", function OrderComponent_Template_button_click_81_listener() { ctx.indexModel.Page = 1; return ctx.saveFilterAndGet(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelement */ "Wb"](82, "i", 38); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](83, OrderComponent_div_83_Template, 6, 4, "div", 39); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](84, OrderComponent_ng_container_84_Template, 38, 25, "ng-container", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](85, OrderComponent_app_mini_loader_85_Template, 1, 0, "app-mini-loader", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtemplate */ "Tc"](86, OrderComponent_app_no_records_86_Template, 1, 1, "app-no-records", 40); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const _r432 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](40); const _r433 = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵreference */ "Kc"](48); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("routerLink", ctx.commonService.GetHomePageUrl()); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](5, 48, "Home_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.commonService.IsDistrict() && !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.orderTypeCode == 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx.model.SubTypeCode); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx.ddlOrderSubType); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx.model.LookupCode); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngForOf", ctx.lookupList); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](38, 50, "FromDate_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](41, 52, "FromDate_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx.model.FromDate)("bsConfig", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpureFunction1 */ "Ec"](64, _c0, ctx.DatePickerFormat))("minDate", ctx.minimumDate); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵattribute */ "Ib"]("aria-expanded", _r432.isOpen); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](46, 54, "ToDate_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](49, 56, "ToDate_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx.model.ToDate)("bsConfig", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpureFunction1 */ "Ec"](66, _c0, ctx.DatePickerFormat))("minDate", ctx.model.FromDate ? ctx.model.FromDate : ctx.minimumDate); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵattribute */ "Ib"]("aria-expanded", _r433.isOpen); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.isOptimized); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](62, 58, "Search_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](7); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵtextInterpolate1 */ "Xc"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](69, 60, "Reset_txt"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpropertyInterpolate */ "uc"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵpipeBind1 */ "oc"](79, 62, "Search_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngModel", ctx.model.Search); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.previousUrl && ctx.previousUrl.PreviousUrl && ctx.previousUrl.UrlSourceCode == ctx.lookupEnum.OrderPreviousUrlSource_ExternalWebsite); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", (ctx.orderPublicPortal == null ? null : ctx.orderPublicPortal.length) > 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.orderPublicPortal); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵproperty */ "tc"]("ngIf", ctx.orderPublicPortal && ctx.orderPublicPortal.length == 0); } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_7__[/* RouterLinkWithHref */ "d"], _angular_common__WEBPACK_IMPORTED_MODULE_13__[/* NgIf */ "n"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__[/* SelectControlValueAccessor */ "u"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__[/* NgControlStatus */ "m"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__[/* NgModel */ "p"], _angular_common__WEBPACK_IMPORTED_MODULE_13__[/* NgForOf */ "m"], ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_15__[/* BsDatepickerInputDirective */ "b"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__[/* DefaultValueAccessor */ "b"], ngx_bootstrap_datepicker__WEBPACK_IMPORTED_MODULE_15__[/* BsDatepickerDirective */ "a"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__[/* NgSelectOption */ "q"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__[/* ɵangular_packages_forms_forms_x */ "w"], ngx_pagination__WEBPACK_IMPORTED_MODULE_16__[/* PaginationControlsComponent */ "c"], src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_17__[/* MiniLoaderComponent */ "a"], src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_18__[/* NoRecordsComponent */ "a"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__[/* TranslatePipe */ "c"], ngx_pagination__WEBPACK_IMPORTED_MODULE_16__[/* PaginatePipe */ "b"], _angular_common__WEBPACK_IMPORTED_MODULE_13__[/* DatePipe */ "e"]], styles: ["section.order-list[_ngcontent-%COMP%]{padding:20px 0}.table_order_list[_ngcontent-%COMP%]{font-size:14px}.table_order_list[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background:#404040;color:#fff}ul.image-list[_ngcontent-%COMP%]{margin:0;padding:0}ul.image-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block}ul.image-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:2px 8px;font-size:14px;margin-bottom:8px}.table_order_list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{cursor:pointer}.badge-info[_ngcontent-%COMP%]{color:#fff;background-color:#ff9800}.text-orange[_ngcontent-%COMP%]{color:#4e4e4e!important;background:#fff;padding:2px 5px;border-radius:3px}@media (min-width:1200px){.orders_filter[_ngcontent-%COMP%] .col-xl-2[_ngcontent-%COMP%]{max-width:25%;width:25%;flex:25%}.filter-btn[_ngcontent-%COMP%]{width:100%;min-height:43px}}.table_order_list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:top}.table_order_list[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.table_order_list[_ngcontent-%COMP%] td[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{width:-moz-max-content;width:max-content}.table_order_list[_ngcontent-%COMP%] td[_ngcontent-%COMP%] br[_ngcontent-%COMP%]{display:none}"] }); return OrderComponent; })(); /***/ }), /***/ "Dz+M": /***/ (function(module, exports, __webpack_require__) { "use strict"; var __extends = (this && this.__extends) || /*@__PURE__*/ (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var Subscription_1 = /*@__PURE__*/ __webpack_require__("zB/H"); var Action = /*@__PURE__*/ (function (_super) { __extends(Action, _super); function Action(scheduler, work) { return _super.call(this) || this; } Action.prototype.schedule = function (state, delay) { if (delay === void 0) { delay = 0; } return this; }; return Action; }(Subscription_1.Subscription)); exports.Action = Action; /***/ }), /***/ "EY2u": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return EMPTY; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return empty; }); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("HDdC"); const EMPTY = /*@__PURE__*/ new _Observable__WEBPACK_IMPORTED_MODULE_0__[/* Observable */ "a"](subscriber => subscriber.complete()); function empty(scheduler) { return scheduler ? emptyScheduled(scheduler) : EMPTY; } function emptyScheduled(scheduler) { return new _Observable__WEBPACK_IMPORTED_MODULE_0__[/* Observable */ "a"](subscriber => scheduler.schedule(() => subscriber.complete())); } //# sourceMappingURL=empty.js.map /***/ }), /***/ "FWf1": /***/ (function(module, exports, __webpack_require__) { "use strict"; var __extends = (this && this.__extends) || /*@__PURE__*/ (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var isFunction_1 = /*@__PURE__*/ __webpack_require__("pshJ"); var Observer_1 = /*@__PURE__*/ __webpack_require__("GiSu"); var Subscription_1 = /*@__PURE__*/ __webpack_require__("zB/H"); var rxSubscriber_1 = /*@__PURE__*/ __webpack_require__("p//D"); var config_1 = /*@__PURE__*/ __webpack_require__("n3uD"); var hostReportError_1 = /*@__PURE__*/ __webpack_require__("MkmW"); var Subscriber = /*@__PURE__*/ (function (_super) { __extends(Subscriber, _super); function Subscriber(destinationOrNext, error, complete) { var _this = _super.call(this) || this; _this.syncErrorValue = null; _this.syncErrorThrown = false; _this.syncErrorThrowable = false; _this.isStopped = false; switch (arguments.length) { case 0: _this.destination = Observer_1.empty; break; case 1: if (!destinationOrNext) { _this.destination = Observer_1.empty; break; } if (typeof destinationOrNext === 'object') { if (destinationOrNext instanceof Subscriber) { _this.syncErrorThrowable = destinationOrNext.syncErrorThrowable; _this.destination = destinationOrNext; destinationOrNext.add(_this); } else { _this.syncErrorThrowable = true; _this.destination = new SafeSubscriber(_this, destinationOrNext); } break; } default: _this.syncErrorThrowable = true; _this.destination = new SafeSubscriber(_this, destinationOrNext, error, complete); break; } return _this; } Subscriber.prototype[rxSubscriber_1.rxSubscriber] = function () { return this; }; Subscriber.create = function (next, error, complete) { var subscriber = new Subscriber(next, error, complete); subscriber.syncErrorThrowable = false; return subscriber; }; Subscriber.prototype.next = function (value) { if (!this.isStopped) { this._next(value); } }; Subscriber.prototype.error = function (err) { if (!this.isStopped) { this.isStopped = true; this._error(err); } }; Subscriber.prototype.complete = function () { if (!this.isStopped) { this.isStopped = true; this._complete(); } }; Subscriber.prototype.unsubscribe = function () { if (this.closed) { return; } this.isStopped = true; _super.prototype.unsubscribe.call(this); }; Subscriber.prototype._next = function (value) { this.destination.next(value); }; Subscriber.prototype._error = function (err) { this.destination.error(err); this.unsubscribe(); }; Subscriber.prototype._complete = function () { this.destination.complete(); this.unsubscribe(); }; Subscriber.prototype._unsubscribeAndRecycle = function () { var _parentOrParents = this._parentOrParents; this._parentOrParents = null; this.unsubscribe(); this.closed = false; this.isStopped = false; this._parentOrParents = _parentOrParents; return this; }; return Subscriber; }(Subscription_1.Subscription)); exports.Subscriber = Subscriber; var SafeSubscriber = /*@__PURE__*/ (function (_super) { __extends(SafeSubscriber, _super); function SafeSubscriber(_parentSubscriber, observerOrNext, error, complete) { var _this = _super.call(this) || this; _this._parentSubscriber = _parentSubscriber; var next; var context = _this; if (isFunction_1.isFunction(observerOrNext)) { next = observerOrNext; } else if (observerOrNext) { next = observerOrNext.next; error = observerOrNext.error; complete = observerOrNext.complete; if (observerOrNext !== Observer_1.empty) { context = Object.create(observerOrNext); if (isFunction_1.isFunction(context.unsubscribe)) { _this.add(context.unsubscribe.bind(context)); } context.unsubscribe = _this.unsubscribe.bind(_this); } } _this._context = context; _this._next = next; _this._error = error; _this._complete = complete; return _this; } SafeSubscriber.prototype.next = function (value) { if (!this.isStopped && this._next) { var _parentSubscriber = this._parentSubscriber; if (!config_1.config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(this._next, value); } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) { this.unsubscribe(); } } }; SafeSubscriber.prototype.error = function (err) { if (!this.isStopped) { var _parentSubscriber = this._parentSubscriber; var useDeprecatedSynchronousErrorHandling = config_1.config.useDeprecatedSynchronousErrorHandling; if (this._error) { if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(this._error, err); this.unsubscribe(); } else { this.__tryOrSetError(_parentSubscriber, this._error, err); this.unsubscribe(); } } else if (!_parentSubscriber.syncErrorThrowable) { this.unsubscribe(); if (useDeprecatedSynchronousErrorHandling) { throw err; } hostReportError_1.hostReportError(err); } else { if (useDeprecatedSynchronousErrorHandling) { _parentSubscriber.syncErrorValue = err; _parentSubscriber.syncErrorThrown = true; } else { hostReportError_1.hostReportError(err); } this.unsubscribe(); } } }; SafeSubscriber.prototype.complete = function () { var _this = this; if (!this.isStopped) { var _parentSubscriber = this._parentSubscriber; if (this._complete) { var wrappedComplete = function () { return _this._complete.call(_this._context); }; if (!config_1.config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(wrappedComplete); this.unsubscribe(); } else { this.__tryOrSetError(_parentSubscriber, wrappedComplete); this.unsubscribe(); } } else { this.unsubscribe(); } } }; SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) { try { fn.call(this._context, value); } catch (err) { this.unsubscribe(); if (config_1.config.useDeprecatedSynchronousErrorHandling) { throw err; } else { hostReportError_1.hostReportError(err); } } }; SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) { if (!config_1.config.useDeprecatedSynchronousErrorHandling) { throw new Error('bad call'); } try { fn.call(this._context, value); } catch (err) { if (config_1.config.useDeprecatedSynchronousErrorHandling) { parent.syncErrorValue = err; parent.syncErrorThrown = true; return true; } else { hostReportError_1.hostReportError(err); return true; } } return false; }; SafeSubscriber.prototype._unsubscribe = function () { var _parentSubscriber = this._parentSubscriber; this._context = null; this._parentSubscriber = null; _parentSubscriber.unsubscribe(); }; return SafeSubscriber; }(Subscriber)); exports.SafeSubscriber = SafeSubscriber; /***/ }), /***/ "GAWG": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppSetting; }); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("AytR"); let AppSetting = /*@__PURE__*/ (() => { class AppSetting { } //#region AppSetting.GetDDlUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/AllDropDown?keys='; AppSetting.GetFilterdDDlUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/AllDropDown'; //static GetSchemeByDepartmentUrl = environment.ApiBaseUrl + 'api/CommonDropDown/GetSchemeByDepartment?Code='; //#endregion //#region DDL AppSetting.DDLKey_OfficeCategory = 'ddlOfficeCategory'; //#endregion //#region AppSetting.BannerListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetBannerImageList'; AppSetting.GetAwardListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAwardList'; AppSetting.DDLKeyForAwardList = 'ddlAdminDepartmentAward,ddlDepartmentAward'; AppSetting.GetAchievementListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAchievementList'; AppSetting.GetAnnualProgramListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAnnualProgressReportList'; AppSetting.GetUpcomingEventListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetUpcomingEventList'; AppSetting.GetPublicationsListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetPublicationsList'; AppSetting.GetAchievementDetailurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetById'; AppSetting.GetAchievementListGroupBySubCategoryurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAchievementListGroupBySubCategory'; AppSetting.DDLKeyForAchievementList = 'ddlAdminDepartment,ddlDepartmentAchievement'; AppSetting.DDLFilterLKeyForAchievementList = 'ddlAchievementSubCategory'; AppSetting.GetOrderSubTypesByFilter = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/GetOrderSubTypesByFilter'; //static GetOrderSubTypeByTypeUrl = environment.ApiBaseUrl + "api/CommonDropDown/GetOrderSubTypeByType?typeCode="; AppSetting.GetNewsTickerListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetNewsTickerList'; AppSetting.GetAchievementListGroupByCategoryUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAchievementListGroupByCategory'; AppSetting.GetExternalLinkList = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetExternalLinkList'; AppSetting.GetAdvertisementListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAdvertisementList'; AppSetting.GetAudioListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAudioList'; AppSetting.GetPostersListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetPostersList'; AppSetting.GetAchievementImportantDecisionListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetImportantDecisionList'; AppSetting.GetVideoListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetVideoList'; AppSetting.GetAchievementListGroupByDepartmenturl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAchievementListGroupByDepartment'; AppSetting.GetImportantDecisionListGroupByDepartmenturl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetImportantDecisionListGroupByDepartment'; AppSetting.DDLKeyForImportantDecision = 'ddlAdminDepartment,ddlDepartmentImportantDecision'; AppSetting.GetCategoryWiseListDataURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAchievementDynamicListByCategory?AchievementCategoryCode='; AppSetting.GetDDLForAchievementActiveDepartmentByCatId = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/GetAchievementDepartmentByCatCode'; AppSetting.GetDDLForAchievementActiveAdminDepartmentByCatId = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/GetAchievementAdminDepartmentByCatCode'; AppSetting.GetAchievementByCatId = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/JankalyanHome/GetAchievementListByCategory?id="; AppSetting.DDLKeyForAchvDepartmentService = 'ddlAdminDepartmentServicesOfferedbyDepartment,ddlDepartmentServicesOfferedbyDepartment,ddlSubCategoryServicesOfferedbyDepartment'; AppSetting.DDLKeyForAchvWebsite = 'ddlAdminDepartmentWebsite,ddlDepartmentWebsite'; AppSetting.DDLKeyForAchvMobileApplcation = 'ddlAdminDepartmentMobileApplication,ddlDepartmentMobileApplication,ddlSubCategoryMobileApplication'; AppSetting.DDLKeyForAchvLetterstoCentralGovt = 'ddlAdminDepartmentLetterstoCentralGovt,ddlDepartmentLetterstoCentralGovt'; AppSetting.DDLKeyForAchvCMspeech = 'ddlAdminDepartmentCMSpeech,ddlDepartmentCMSpeech'; AppSetting.DDLKeyForProgramVideo = 'ddlAdminDepartmentProgramVideo,ddlDepartmentProgramVideo'; AppSetting.GetAchievementListBySearchFilter = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/JankalyanHome/GetAchievementListBySearchFilter"; AppSetting.GetIndiaPortalDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/IndiaPortal/GetIndiaPortalDetail"; AppSetting.GetPubicUtilityCountUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/IndiaPortal/GetPubicUtilityCount"; AppSetting.GetCategoryWisePubicUtilityUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/IndiaPortal/GetCategoryWisePubicUtility"; AppSetting.GetDepartmentWiseListDataURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetDepartmentGroupAchievementListByCategory?AchievementCategoryCode='; AppSetting.AchievementAttachmentsByDepartmentCodeURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAchievementAttachmentsByDepartmentCode?dptCode='; AppSetting.DDLKeyForAchvDepartmentalPhotoGallery = 'ddlAdminDepartmentDepartmentalPhotoGallery,ddlDepartmentDepartmentalPhotoGallery'; AppSetting.GetAchievementCatDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/AchievementCategoryMaster/Get"; AppSetting.GetAchievementSubCatDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/AchievementSubCategoryMaster/Get"; //#endregion //#region AppSetting.GetImportantDecisionListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/ImportantDecisionPortal/GetImportantDecisionList'; AppSetting.GetImportantDecisionDetailurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/ImportantDecisionPortal/GetImportantDecisionDetail/'; AppSetting.GetImportantDecisionListGroupBySubCategoryurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetImportantDecisionListGroupBySubCategory'; AppSetting.DDLKeyForImportantDecisionList = 'ddlDepartment'; AppSetting.GetImpDecisionsubcategoryList = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/GetImpdecSubcategorybydeptandcat?'; AppSetting.DDLFilterLKeyForImportantDecisionList = 'ddlAdminDepartment,ddlDepartment,ddlSector,ddlImpCategory,ddlImportantDecisionSubCategory'; //#endregion //#region AppSetting.GetSchemeListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/SchemePortal/Get'; AppSetting.GetFilterSchemeListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/SchemePortal/GetAllSchemeByFilter'; AppSetting.DDLKeyForScheme = 'ddlSchemeMaster,ddlSchemePageType,ddlDistrict,ddlDepartmentScheme,RadioPaymentDisbursementFrequency,RadioMadeOfApplingOnlineAndBoth,RadioListOfRequiredDoc,RadioSchemeOwnedBy,RadioServiceFee,RadioSchemeModeofApplying,RadioSchemeExpriedOn,RadioApplyForScheme,RadioRGDPSAct,RadioSchemeOwnedBy,ddlSchemeNameOfDocument,ddlSchemeModeOfDisbursement,ddlSchemeListOfOtherDoc,ddlSchemePaymentDisbursementFrequency,ddlSchemeModeOfDelivery,ddlSchemeEligibility,ddlSchemePayFees,ddlSchemeListOfRequiredDoc,ddlSchemeServiceProgramArea,ddlSchemeServiceType,ddlDesignation,ddlCommonMaster,ddlAdminDepartmentScheme,ddlBeneficiaryCategory,ddlCategory,ddlSchemeType,ddlSchemeOutput,ddlModeofPayment,ddlModeOfDelivery,ddlSchemeArea,ddlSchemeServiceProgramArea,RadioSchemeType'; AppSetting.SchemeGetUrlById = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/SchemePortal/GetById'; AppSetting.GetSchemeFaqUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/SchemePortal/GetSchemeFaq'; AppSetting.GetSchemeGallaryListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/gallery/GetAllDetails'; AppSetting.GetSchemeGallaryPhotosListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/gallery/GetAllPhotosDetails'; AppSetting.GetSchemeGallaryVideoListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/gallery/GetAllVideoDetails'; AppSetting.GetSchemeGallaryYoutubeListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/gallery/GetAllYoutubeDetails'; AppSetting.GetSchemeGallaryVideoYoutubeListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/gallery/GetAllVideoandYoutubeDetails'; AppSetting.GetTopSchemeByDepartmentListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/SchemePortal/GetTopSchemeByDepartment'; AppSetting.GetSchemeStatusListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/SchemePortal/GetSchemeImplementationStatusList'; AppSetting.GetGalleryDataUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/gallery/GetAllDetails'; //#endregion //#region Department View AppSetting.DDLKeyForDepartmentView = 'ddlDepartment'; AppSetting.DDLKeyForDepartmentCategoryView = 'ddlAdminDepartment,ddlDepartmentListByCategory'; //#endregion //#region AppSetting.GetGroupTypeOrderListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/OrderPortal/GetGroupTypeOrderList'; AppSetting.OrderListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/OrderPortal/GetList'; AppSetting.DDLKeyForOrderEntry = 'ddlDistrict,ddlDptContactDesignation,ddlUserDistrict,ddlBeneficiaryCategory,ddlOrderSector,ddlOrderType,ddlOrderIssueBy,ddlOrderModuleName,ddlDepartmentSection,ddlOfficeCategory'; AppSetting.DDLFilterKeyForOrderEntry = 'ddlOrderSubType'; AppSetting.OrderDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/OrderPortal/GetById'; AppSetting.OrderChildListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/OrderPortal/GetOrderChildRecordById'; // static OrderParentListUrl = environment.ApiBaseUrl + 'api/OrderPortal/GetOrderParentRecordById'; AppSetting.OrderTypeListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/OrderPortal/GetAllOrderType'; AppSetting.OrderTypeDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'PublicPortal/OrderPortal/GetOrderTypeDetail'; AppSetting.OrderSubTypeDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/OrderSubTypeMaster/Get'; AppSetting.GetLookupTypeListByOrderDocumentSubTypeId = 'https://jankalyanfrontwebapi.rajasthan.gov.in/' + "ComparetiveModule/OrderSubTypeMaster/GetLookupTypeListByOrderDocumentSubTypeId"; AppSetting.DDLKeyForAdmLatestOrderList = 'ddlBeneficiaryCategory,ddlDepartmentOrder,ddlOrderType'; AppSetting.GetAdminLatestOrderListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/OrderPortal/GetAdmDeptLatestOrders'; AppSetting.GetOfficeCategoryOrderCountsUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetOfficeCategoryOrderCounts"; AppSetting.GetOfficeOrderCountsUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetOfficeOrderCounts"; AppSetting.GetOrderTypeWithOrderCountUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetOrderTypeWithOrderCount"; AppSetting.GetOfficeDetailsUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/JankalyanHome/GetOfficeDetail"; AppSetting.GetPreviousUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "CMDashboard/OrderPortal/GetPreviousUrlList"; AppSetting.GetSectionWiseOrderCountUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetSectionWiseOrderCounts"; AppSetting.GetDptSectionBydptCode = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetSectionByDepartmentCode"; AppSetting.GetLookupTypeListForOrderDocument = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "ComparetiveModule/OrderSubTypeMaster/GetLookupTypeListForOrderDocument"; //#endregion //#region Weekly report AppSetting.WeeklyReportUrl = 'https://foxfms.com/api/FeederData/GetWeeklyReport/2024-07-01/2024-07-07'; //#endregion //#region AppSetting.HereMapLayerUrl = 'https://cle.api.here.com/2/search/all.json?app_id=05UjfGhidSoDnGkZ3v1u&app_code=OsXpO2uP8im1Pw2uuwsUUg&proximity=26.9124,75.7873,5000&layer_id='; //#endregion //#region HOME AppSetting.AdvertisementPopUpServiceUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/WebServices/AdvertisementService/GetAllAdvertisementAndGovAchievment'; //#endregion //#region Department AppSetting.GetDepartmentProfileListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetDepartmentProfileList'; AppSetting.GetOtherLinkListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAndSetVisitorCount?CatCode='; AppSetting.GetDepartmentContactListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetDepartmentContactList'; AppSetting.GetAllUserDetailListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAllUserDetailList'; AppSetting.GetAndSetVisitorCount = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "/PublicPortal/DepartmentWebsite/GetAndSetVisitorCount?DepartmentCode="; AppSetting.GetAllTendorData = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/PublicPortal/DepartmentWebsite/GetAllTendorData"; AppSetting.GetOfficeWiseTenderCounts = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/CommonDropDown/GetOfficeWiseTenderCounts"; AppSetting.DDLKeyForTender = 'ddlTenderCategory'; AppSetting.GetPrabhariMantriDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetPrabhariMantriDetail?deptCode='; //#endregion //#region CMIS AppSetting.GetAllCMISModuleDataListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CMISModulePortal/GetAllCMISModuleData'; AppSetting.DDLKeyForCMISModule = 'ddlCMISModule'; AppSetting.GetAllCMISModuleMasterListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CMISModulePortal/GetAllCMISModuleMasterData'; AppSetting.GetAllCMISModuleSearchDataListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CMISModulePortal/GetAllCMISModuleSearchData'; AppSetting.GetCMISAdminDepartmentByModuleCode = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CommonDropDown//GetCMISAdminDepartmentByModuleCode'; AppSetting.GetCMISDepartmentByModuleCode = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CommonDropDown//GetCMISDepartmentByModuleCode'; AppSetting.GetCMISFinancialYearByModuleCode = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CommonDropDown//GetCMISFinancialYearByModuleCode?code='; AppSetting.JankalyanEntryGetByIdUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/JankalyanEntryTypeMaster/Get/"; // static JankalyanLookupTypeUrl = environment.ApiBaseUrl + "Admin/LookUp/Get/"; AppSetting.JankalyanLookupTypeUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "PublicPortal/DepartmentWebsite/GetDepartmentContactCategoryDetail/"; AppSetting.GetAllCMISModuleDataGroupByDepartmenturl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CMISModulePortal/GetAllCMISModuleDataGroupByDepartment'; AppSetting.GetAllCMISAchievementDataListurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CMISModulePortal/GetAllCMISAchievement'; AppSetting.GetAllCMISAchievementGroupByDepartmenturl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/CMISModulePortal/GetAllCMISAchievementGroupByDepartment'; AppSetting.DDLKeyForCMISAchievement = "ddlCMISAchievementAdmDepartment,ddlCMISAchievementDepartment"; AppSetting.JankalyanCategoryDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/JANCategoryMaster/Get/"; AppSetting.JankalyanEntryTypeListByCategoryUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/JankalyanEntryTypeMaster/GetEntryTypeByCategory/"; AppSetting.GetDeptProfileSubCategoriesUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetDeptProfileSubCategories"; AppSetting.GetOfficeWiseDeptProfileRecordCountUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetOfficeWiseDeptProfileRecordCount"; //#endregion //#region CM Profile AppSetting.GetCMProfileDetailurl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetCMProfile'; //#endregion //#region AppSetting.GetProjectMasterListBySearchFilter = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/ProjectMasterPortal/GetListBySearchFilter"; AppSetting.DDLKeyForProjectMaster = 'ddlExistingProjectAdmDepartment,ddlExistingProjectDepartment,ddlExistingProjectMLADistrict,ddlExistingProjectStatus,ddlExistingProjectSector,ddlExistingProjectCategory,ddlExistingProjectStartYear,ddlExistingProjectMLAConstituency'; AppSetting.getProjectMaterDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/ProjectMasterPortal/GetById"; //#endregion //#region AppSetting.GetNewsProgressListBySearchFilterUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/NewsPaperPortal/GetListBySearchFilter"; AppSetting.DDLKeyForNewsProgress = 'ddlExistingNewsAdmDepartment,ddlExistingNewsDepartment,ddlExistingNewsPaper,ddlExistingNewsPublicationType,ddlExistingNewsCoverageType'; //ddlExistingNewsSubject //static getNewsDetailUrl = environment.ApiBaseUrl + "/api/NewsPaperPortal/GetById" //#endregion //#region Public-document AppSetting.GetHelpDocUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/Common/GetHelpDocument?module="; //#endregion //#region AppSetting.EbookletCategoryUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/PublicPortal/EBookletPortal/GeEbookletCategory"; AppSetting.EBookletandCategoryDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/PublicPortal/EBookletPortal/GetEBookletandCategoryDetail"; //#endregion //#region AppSetting.AllLatestUpdateUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/JankalyanHome/GetAllLatestUpdate'; //#endregion //#region AppSetting.DipartmentDistrictUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/JankalyanDepartmentDistrictWebsite/GetDipartmentDistrict'; AppSetting.OrderPressReleaseTenderDataUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetOrderPressReleaseTenderData?dptCode='; AppSetting.PressReleaseURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetPressReleaseData?dptCode='; AppSetting.TenderUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetTenderData?dptCode='; AppSetting.OrderUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetOrderData?dptCode='; AppSetting.GeneralEntryUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetGeneralEntryData?dptCode='; AppSetting.OthetDepartmentLatestUpdatesUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetOthetDepartmentLatestUpdatesData?dptCode='; AppSetting.MLAConstituencyUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetMLAConstituency'; AppSetting.DepartemntWebsiteQuickLinkUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetDepartemntWebsiteQuickLink?dptCode='; AppSetting.DepartmentDetailByDptCodeUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetDepartmentDetailByDptCode'; AppSetting.GetGeneralSubCategory = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetGeneralSubCategory?CategoryCode="; AppSetting.DptWebsiteOtherGeneralLinkUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetDptWebsiteOtherGeneralLink'; AppSetting.DptWebsiteOtherTransactionLinkUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetDptWebsiteOtherTransactionLink'; AppSetting.DptInAugrationLinkUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetPressReleaseByFilter'; AppSetting.WebsiteHomePageSectionUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetWebsiteHomePageSection?dptCode='; AppSetting.MenuListForDepartmentUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetMenuListForDepartment'; AppSetting.DptWebsiteGetSubMenuUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetDptWebsiteSubMenus'; AppSetting.ChildDepartmentMenuListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetChildDeptMenuList'; AppSetting.DptDepartmentContactUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetDepartmentContactDetail'; AppSetting.DptContactCategoryDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetDepartmentContactCategoryDetail/'; AppSetting.GetAllDepartmentontactDetailToExcelUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetAllDepartmentontactDetailToExcel'; AppSetting.PressReleaseDDLKey = "ddlModifiedBypressRelease,ddlPressReleaseLookupCategory,ddlPressReleaseDepartment,RadioStateDistrict,ddlVCParticipantCategory,ddlDepartmentForDistrictKPIList,ddlDesignationForPressRelease,ddlPressReleaseCategory,ddlDepartment,ddlDistrict"; AppSetting.GetJankalyanEntryTypebyDepartmentCode = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetJankalyanEntryTypebyDepartmentCode?departmentCode="; AppSetting.GetVIPPersonListOfPressRelease = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetVIPPersonListOfPressRelease?Code="; AppSetting.DptAchievementCategoryDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/Common/GetAchievementCategoryByCode/'; AppSetting.WebsiteSearchResultUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '//PublicPortal/DepartmentWebsite/GetWebsiteSearchResult'; AppSetting.ddlDownloadDocumentType = 'ddlDownloadDocumentType'; AppSetting.ddlKey_ddlDesignation = 'ddlDesignation'; AppSetting.GetDeptAssetsIconAndListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DocumentMaster/GetDeptAssetsIconAndList?DeptCode='; AppSetting.DepartmentReportFilterWiseUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/DepartmentReportFilterWise'; AppSetting.GetDepartmentPageDetailUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentPages/GetDepartmentPageDetail'; AppSetting.GetIsAuthenticationRequiredUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentPages/GetIsAuthenticationRequired'; AppSetting.DeptWebsiteLinksUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/PublicPortal/DepartmentWebsite/GetDeptWebsiteLinks?deptCode='; AppSetting.GetPressReleaseSubCategories = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/GetPressReleaseSubCategories'; AppSetting.GetWebDirectory = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/GetWebDirectory'; AppSetting.GetSubmenuDetailUrl = 'https://jankalyanfrontwebapi.rajasthan.gov.in/' + '/PublicPortal/DepartmentWebsite/GetSubmenuDetail'; AppSetting.GetDepartmentByAdminDepartmentCodesUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/CommonDropDown/GetDepartmentByAdminDepartmentCodes?codes='; AppSetting.GetUploaderDataForFront = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/PublicPortal/DepartmentWebsite/GetUploaderDataForFront"; //#endregion //#region AppSetting.AdvertisementGetData = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'WebServices/AdvertisementService/ServiceForGetAllAdvertisement'; AppSetting.GovermentAchivementData = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'WebServices/AdvertisementService/GetAllGovermentAchivement'; AppSetting.GetAllJankalyanAdvertisement = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "CMDashboard/JankalyanAdvertisement/GetAllJankalyanAdvertisement/"; //#endregion //#region AppSetting.AchievementDepartmentCoutListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/JankalyanApp/GetDepartmentAchivement_DeptCatWiseCount/'; AppSetting.AchievementDepartmentCoutWiseListUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + 'api/JankalyanApp/GetDepartmentAchivement_DeptCatWiseList'; //#endregion AppSetting.ComplianceNoOfEntryInJankalyanReportDataURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "Admin/JankalyanReport/GetComplianceNoOfEntryInJankalyanReportData"; AppSetting.GetDistrictComplianceFrontReportDataURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "Admin/JankalyanReport/GetDistrictComplianceFrontReportData"; AppSetting.GetModuleById = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "PublicPortal/CMISModulePortal/GetModuleById"; // web services AppSetting.GetWebServicesById = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/ExternalWebAPI/GetWebServiceResponseById/'; AppSetting.GetAllWebServiceUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + '/api/ExternalWebAPI/GetAllWebService/'; AppSetting.GetOfficesByDepartmentAndDistrictUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/CommonDropDown/GetOffice"; //Sveep Participant AppSetting.RegisterSveepParticipantUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "PublicPortal/SveepParticipant/AddSveepParticipant"; AppSetting.ResentOTPUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "PublicPortal/SveepParticipant/Resend"; AppSetting.VerifyOtpUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "PublicPortal/SveepParticipant/Verify"; AppSetting.GetContactDetail = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "PublicPortal/DepartmentWebsite/GetDepartmentContactBasicDetail"; //#region AppSetting.RegisterUserUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "PublicPortal/AppUser/RegisterAppUser"; AppSetting.RegisterUserV1Url = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "PublicPortal/AppUser/RegisterAppUserV1"; AppSetting.VerifyUserOtpUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "PublicPortal/AppUser/VerifyOtp"; AppSetting.ResentUserOTPUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "PublicPortal/AppUser/ResentOTP"; //#endregion AppSetting.addDepartmentFeedback = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + '/api/DepartmentWebsite/AddPortalUserFeedback'; AppSetting.API_ENDPOINT_Raj_Sampark = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].Raj_Sampark_Url; AppSetting.API_ValidateLoginWithOTP = '/api/CmoPhotoBooth/ValidateLoginWithOTP'; //#region AdaUserfeedback form AppSetting.AddFeedbackURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "api/DepartmentWebsite/AddDepartmentUserFeedbackRegisteration"; AppSetting.AddFeedbackURL2 = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "api/DepartmentWebsite/AddDepartmentUserFeedback"; AppSetting.ValidateImageUserFeedbackRegisteration = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "api/DepartmentWebsite/ValidateImageUserFeedbackRegisteration"; AppSetting.GetAdaUserFeedbackListBySearchFilter = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/DepartmentWebsite/GetAllFeedbacks"; AppSetting.VerifyOtp = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/DepartmentWebsite/VerifyDepartmentUserFeedbackRegisteration"; AppSetting.GetAdaServices = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/DepartmentWebsite/GetAllFeedbacksServices/"; AppSetting.AddNewAdaFeedbackService = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "api/DepartmentWebsite/AddFeedbackService"; //#endregion //#region CentralizedUserfeedback form AppSetting.AddCentralizedFeedbackURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "api/UserFeedback/AddDepartmentUserFeedbackRegisteration"; AppSetting.AddCentralizedFeedbackURL2 = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "api/UserFeedback/AddDepartmentUserFeedback"; AppSetting.GetCentralizedFeedbackListBySearchFilter = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "/api/UserFeedback/GetAllFeedbacks"; AppSetting.CentralizedUserfeedbackVerifyOtp = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "/api/UserFeedback/VerifyDepartmentUserFeedbackRegisteration"; AppSetting.GetCentralizedUserfeedbackServices = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].ApiBaseUrl + "api/UserFeedback/GetServiceById"; AppSetting.AddNewCentralizedFeedbackService = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__[/* environment */ "a"].JanRWApiBaseUrl + "api/UserFeedback/Post"; return AppSetting; })(); /***/ }), /***/ "GMZp": /***/ (function(module, exports, __webpack_require__) { "use strict"; /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); function isObject(x) { return x !== null && typeof x === 'object'; } exports.isObject = isObject; /***/ }), /***/ "GiSu": /***/ (function(module, exports, __webpack_require__) { "use strict"; /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var config_1 = /*@__PURE__*/ __webpack_require__("n3uD"); var hostReportError_1 = /*@__PURE__*/ __webpack_require__("MkmW"); exports.empty = { closed: true, next: function (value) { }, error: function (err) { if (config_1.config.useDeprecatedSynchronousErrorHandling) { throw err; } else { hostReportError_1.hostReportError(err); } }, complete: function () { } }; /***/ }), /***/ "GmSP": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MiniLoaderComponent; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fXoL"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ofXK"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("sYmb"); const _c0 = function (a0) { return { color: a0 }; }; let MiniLoaderComponent = /*@__PURE__*/ (() => { class MiniLoaderComponent { constructor() { this.color = '#000'; } ngOnInit() { } } MiniLoaderComponent.ɵfac = function MiniLoaderComponent_Factory(t) { return new (t || MiniLoaderComponent)(); }; MiniLoaderComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵdefineComponent */ "Pb"]({ type: MiniLoaderComponent, selectors: [["app-mini-loader"]], inputs: { color: "color" }, decls: 5, vars: 6, consts: [[1, "mini-loading", "text-center", 3, "ngStyle"], [1, "fas", "fa-spinner", "fa-spin"], [1, "mb-0", "mt-3"]], template: function MiniLoaderComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelementStart */ "ac"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelement */ "Wb"](1, "i", 1); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelementStart */ "ac"](2, "p", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵproperty */ "tc"]("ngStyle", _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵpureFunction1 */ "Ec"](4, _c0, ctx.color)); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_0__[/* ɵɵpipeBind1 */ "oc"](4, 2, "Loading_txt")); } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[/* NgStyle */ "o"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__[/* TranslatePipe */ "c"]], styles: [""] }); return MiniLoaderComponent; })(); /***/ }), /***/ "GyhO": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return concat; }); /* harmony import */ var _of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("LRne"); /* harmony import */ var _operators_concatAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("0EUg"); function concat(...observables) { return Object(_operators_concatAll__WEBPACK_IMPORTED_MODULE_1__[/* concatAll */ "a"])()(Object(_of__WEBPACK_IMPORTED_MODULE_0__[/* of */ "a"])(...observables)); } //# sourceMappingURL=concat.js.map /***/ }), /***/ "HDdC": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/Subscriber.js var Subscriber = __webpack_require__("7o/Q"); // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/util/canReportError.js function canReportError(observer) { while (observer) { const { closed, destination, isStopped } = observer; if (closed || isStopped) { return false; } else if (destination && destination instanceof Subscriber["a" /* Subscriber */]) { observer = destination; } else { observer = null; } } return true; } //# sourceMappingURL=canReportError.js.map // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js var rxSubscriber = __webpack_require__("2QA8"); // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/Observer.js var Observer = __webpack_require__("gRHU"); // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js function toSubscriber(nextOrObserver, error, complete) { if (nextOrObserver) { if (nextOrObserver instanceof Subscriber["a" /* Subscriber */]) { return nextOrObserver; } if (nextOrObserver[rxSubscriber["a" /* rxSubscriber */]]) { return nextOrObserver[rxSubscriber["a" /* rxSubscriber */]](); } } if (!nextOrObserver && !error && !complete) { return new Subscriber["a" /* Subscriber */](Observer["a" /* empty */]); } return new Subscriber["a" /* Subscriber */](nextOrObserver, error, complete); } //# sourceMappingURL=toSubscriber.js.map // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/symbol/observable.js var observable = __webpack_require__("kJWO"); // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/util/pipe.js var pipe = __webpack_require__("mCNh"); // EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/config.js var config = __webpack_require__("2fFW"); // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/Observable.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Observable_Observable; }); let Observable_Observable = /*@__PURE__*/ (() => { class Observable { constructor(subscribe) { this._isScalar = false; if (subscribe) { this._subscribe = subscribe; } } lift(operator) { const observable = new Observable(); observable.source = this; observable.operator = operator; return observable; } subscribe(observerOrNext, error, complete) { const { operator } = this; const sink = toSubscriber(observerOrNext, error, complete); if (operator) { sink.add(operator.call(sink, this.source)); } else { sink.add(this.source || (config["a" /* config */].useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable) ? this._subscribe(sink) : this._trySubscribe(sink)); } if (config["a" /* config */].useDeprecatedSynchronousErrorHandling) { if (sink.syncErrorThrowable) { sink.syncErrorThrowable = false; if (sink.syncErrorThrown) { throw sink.syncErrorValue; } } } return sink; } _trySubscribe(sink) { try { return this._subscribe(sink); } catch (err) { if (config["a" /* config */].useDeprecatedSynchronousErrorHandling) { sink.syncErrorThrown = true; sink.syncErrorValue = err; } if (canReportError(sink)) { sink.error(err); } else { console.warn(err); } } } forEach(next, promiseCtor) { promiseCtor = getPromiseCtor(promiseCtor); return new promiseCtor((resolve, reject) => { let subscription; subscription = this.subscribe((value) => { try { next(value); } catch (err) { reject(err); if (subscription) { subscription.unsubscribe(); } } }, reject, resolve); }); } _subscribe(subscriber) { const { source } = this; return source && source.subscribe(subscriber); } [observable["a" /* observable */]]() { return this; } pipe(...operations) { if (operations.length === 0) { return this; } return Object(pipe["b" /* pipeFromArray */])(operations)(this); } toPromise(promiseCtor) { promiseCtor = getPromiseCtor(promiseCtor); return new promiseCtor((resolve, reject) => { let value; this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value)); }); } } Observable.create = (subscribe) => { return new Observable(subscribe); }; return Observable; })(); function getPromiseCtor(promiseCtor) { if (!promiseCtor) { promiseCtor = config["a" /* config */].Promise || Promise; } if (!promiseCtor) { throw new Error('no Promise impl found'); } return promiseCtor; } //# sourceMappingURL=Observable.js.map /***/ }), /***/ "HHJd": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DepartmentPageDetailComponent; }); /* harmony import */ var src_app_Shared_Enum_lookup_type_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("RVz6"); /* harmony import */ var src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("j672"); /* harmony import */ var src_app_Shared_Model_department_view_model_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("MZWM"); /* harmony import */ var src_app_Shared_Model_dpt_district_website_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("ylkv"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("AytR"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("fXoL"); /* harmony import */ var src_app_Shared_Service_department_profile_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("56/0"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("sYmb"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("jhN1"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("tyNb"); /* harmony import */ var src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("LYBR"); /* harmony import */ var src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("qVlC"); /* harmony import */ var src_app_Shared_Service_department_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("6mOv"); /* harmony import */ var src_app_Shared_Service_app_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("71LL"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("ofXK"); /* harmony import */ var src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("GmSP"); /* harmony import */ var src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("/9+q"); const _c0 = ["skipperMainContent"]; const _c1 = ["skipperMenuContent"]; const _c2 = ["pageBody"]; const _c3 = ["pdfContent"]; function DepartmentPageDetailComponent_nav_1_span_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r4138 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](ctx_r4138.translate.currentLang != "hi" ? ctx_r4138.pageTitle == null ? null : ctx_r4138.pageTitle.NameEnglish : ctx_r4138.pageTitle == null ? null : ctx_r4138.pageTitle.NameHindi); } } function DepartmentPageDetailComponent_nav_1_span_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function DepartmentPageDetailComponent_nav_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "nav", 8); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](2, "ol", 10); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](3, "li", 11); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](4, "a", 12); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipe */ "nc"](6, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](7, "li", 13); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](8, DepartmentPageDetailComponent_nav_1_span_8_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](9, DepartmentPageDetailComponent_nav_1_span_9_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r4132 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("routerLink", ctx_r4132.commonService.GetHomePageUrl()); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpipeBind1 */ "oc"](6, 4, "Home_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r4132.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r4132.pageTitle); } } function DepartmentPageDetailComponent_span_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r4133 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](ctx_r4133.translate.currentLang != "hi" ? ctx_r4133.pageTitle == null ? null : ctx_r4133.pageTitle.NameEnglish : ctx_r4133.pageTitle == null ? null : ctx_r4133.pageTitle.NameHindi); } } function DepartmentPageDetailComponent_span_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function DepartmentPageDetailComponent_section_7_div_4_div_2_span_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](0, "span", 27); } } function DepartmentPageDetailComponent_section_7_div_4_div_2_Template(rf, ctx) { if (rf & 1) { const _r4145 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "button", 25); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵlistener */ "ic"]("click", function DepartmentPageDetailComponent_section_7_div_4_div_2_Template_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵrestoreView */ "Mc"](_r4145); const ctx_r4144 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](3); return ctx_r4144.downloadAsPDF(); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](2, DepartmentPageDetailComponent_section_7_div_4_div_2_span_2_Template, 1, 0, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r4141 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("disabled", ctx_r4141.isDownloadingPDF); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r4141.isDownloadingPDF); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r4141.isDownloadingPDF ? "Generating..." : "Download PDF", " "); } } function DepartmentPageDetailComponent_section_7_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](2, DepartmentPageDetailComponent_section_7_div_4_div_2_Template, 4, 3, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](3, "div", 21, 22); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](5, "div", 23); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r4140 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r4140.WebsiteCode != 111); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("innerHTML", ctx_r4140.translate.currentLang == "hi" ? (ctx_r4140.model == null ? null : ctx_r4140.model.DescriptionHindi) ? ctx_r4140.sanitizer.bypassSecurityTrustHtml(ctx_r4140.model == null ? null : ctx_r4140.model.DescriptionHindi) : ctx_r4140.sanitizer.bypassSecurityTrustHtml(ctx_r4140.model == null ? null : ctx_r4140.model.DescriptionEng) : ctx_r4140.sanitizer.bypassSecurityTrustHtml(ctx_r4140.model == null ? null : ctx_r4140.model.DescriptionEng), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵsanitizeHtml */ "Nc"]); } } function DepartmentPageDetailComponent_section_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](0, "section", 14); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](1, "div", 15); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](2, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](3, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](4, DepartmentPageDetailComponent_section_7_div_4_Template, 6, 2, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r4135 = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r4135.model == null ? null : ctx_r4135.model.DescriptionEng); } } function DepartmentPageDetailComponent_app_mini_loader_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function DepartmentPageDetailComponent_app_no_records_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](0, "app-no-records", 28); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("showImage", true); } } let DepartmentPageDetailComponent = /*@__PURE__*/ (() => { class DepartmentPageDetailComponent { constructor(departmentProfile, translate, sanitizer, _route, _router, commonService, _dptDistrictWebsiteService, _departmentService, router, _commonService, appService, renderer, metaTagService) { this.departmentProfile = departmentProfile; this.translate = translate; this.sanitizer = sanitizer; this._route = _route; this._router = _router; this.commonService = commonService; this._dptDistrictWebsiteService = _dptDistrictWebsiteService; this._departmentService = _departmentService; this.router = router; this._commonService = _commonService; this.appService = appService; this.renderer = renderer; this.metaTagService = metaTagService; this.pageUrlCode = 0; this.model = new src_app_Shared_Model_department_view_model_model__WEBPACK_IMPORTED_MODULE_2__[/* Front_DepartmentPageModel */ "e"](); this.submenuCode = 0; this.WebsiteCode = 0; this.IsLoading = true; this.pageCode = 0; this.DepartmentCode = 0; this.LookupCode = 0; this.isAuthenticationRequired = false; this.keywords = ''; this.description = ''; this.dptModel = new src_app_Shared_Model_dpt_district_website_model__WEBPACK_IMPORTED_MODULE_3__[/* DepartmentDetailModel */ "b"](); this.enumdata = src_app_Shared_Enum_lookup_type_enum__WEBPACK_IMPORTED_MODULE_0__[/* LookupTypeEnum */ "b"]; this.fontSize = 14; this.isDownloadingPDF = false; this.templateClass = ''; } ngOnInit() { if (localStorage.getItem("websiteCode")) { this.WebsiteCode = Number(localStorage.getItem("websiteCode")); } this._route.paramMap.subscribe((params) => { this.pageTitle = undefined; this.templateClass = this._commonService.GetLocalStorageVal('TemplateClass'); let param_deptCode = params.get("deptCode"); if (param_deptCode) { this.DepartmentCode = Number(param_deptCode || 0); } let param_lookupCode = params.get("lookupCode"); if (param_lookupCode) { this.LookupCode = Number(param_lookupCode || 0); } let param_PageCode = params.get("pageCode"); if (param_PageCode) { this.pageCode = Number(param_PageCode || 0); } let param_submenuCode = params.get("submenuCode"); if (param_submenuCode) { this.submenuCode = Number(param_submenuCode || 0); } if (this.pageUrlCode) { this.pageCode = this.pageUrlCode; } debugger; this.getPageHeading(); let isVerified = sessionStorage.getItem("IsVerified") ? JSON.parse(sessionStorage.getItem("IsVerified")) : false; if (isVerified) { this.GetDepartmentPageDetail(this.DepartmentCode ? this.DepartmentCode : 0, this.LookupCode ? this.LookupCode : this.LookupCode, this.pageCode ? this.pageCode : this.pageCode); } else { this.GetIsAuthenticationRequired(this.DepartmentCode ? this.DepartmentCode : 0, this.LookupCode ? this.LookupCode : this.LookupCode, this.pageCode ? this.pageCode : this.pageCode); } }); } // HTML to PDF generation using html2pdf.js downloadAsPDF() { var _a, _b; this.isDownloadingPDF = true; const element = this.pdfContent.nativeElement; // Get filename const fileName = this.translate.currentLang === 'hi' ? ((_a = this.pageTitle) === null || _a === void 0 ? void 0 : _a.NameHindi) || 'Document' : ((_b = this.pageTitle) === null || _b === void 0 ? void 0 : _b.NameEnglish) || 'Document'; // Check if html2pdf is available if (typeof html2pdf === 'undefined') { console.error('html2pdf.js is not loaded. Please install it first: npm install html2pdf.js'); this.loadHtml2PdfScript().then(() => { this.generatePdfWithHtml2Pdf(element, fileName); }).catch(() => { this.isDownloadingPDF = false; alert('html2pdf.js library is not available. Please install it with: npm install html2pdf.js'); }); return; } this.generatePdfWithHtml2Pdf(element, fileName); } generatePdfWithHtml2Pdf(element, fileName) { // Configure html2pdf options for high quality const options = { margin: 5, filename: `${fileName}.pdf`, image: { type: 'jpeg', quality: 1.0 }, html2canvas: { scale: 2, useCORS: true, letterRendering: true, allowTaint: false, backgroundColor: '#ffffff' }, jsPDF: { unit: 'mm', format: 'a3', orientation: 'portrait', compress: true }, pagebreak: { mode: ['avoid-all', 'css', 'legacy'] } }; // Generate PDF html2pdf() .set(options) .from(element) .save() .then(() => { this.isDownloadingPDF = false; console.log('PDF generated successfully with html2pdf.js'); }) .catch((error) => { console.error('Error generating PDF:', error); this.isDownloadingPDF = false; alert('Failed to generate PDF. Please try the "Print as PDF" option instead.'); }); } loadHtml2PdfScript() { return new Promise((resolve, reject) => { if (typeof html2pdf !== 'undefined') { resolve(); return; } const script = document.createElement('script'); script.src = './assets/js/html2pdf.bundle.min.js'; script.onload = () => resolve(); script.onerror = () => reject(); document.head.appendChild(script); }); } getPageHeading() { if (this.submenuCode > 0) { this.getSubmenuDetail(); } } getSubmenuDetail() { this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(res => { if (res.IsSuccess) { let submenu = res.Data; if (submenu) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_1__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = submenu.DisplayNameEnglish; this.pageTitle.NameHindi = submenu.DisplayNameHindi; this.pageTitle.ImagePath = submenu.IconImage; this.commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } } }, error => { }); } GetIsAuthenticationRequired(deptCode, lookupCode, pageCode) { this.model = undefined; this.departmentProfile.GetIsAuthenticationRequired(Number(deptCode), Number(lookupCode), Number(pageCode)).subscribe(res => { if (res.IsSuccess) { this.isAuthenticationRequired = res.Data.IsAuthenticationRequired; if (this.isAuthenticationRequired) { this._router.navigate(["registration"], { queryParams: { pageCode: pageCode } }); } else { this.GetDepartmentPageDetail(this.DepartmentCode ? this.DepartmentCode : 0, this.LookupCode ? this.LookupCode : this.LookupCode, this.pageCode ? this.pageCode : this.pageCode); } } }, error => { console.error(error); }); } GetDepartmentPageDetail(deptCode, lookupCode, pageCode) { sessionStorage.removeItem('IsVerified'); this.model = undefined; this.departmentProfile.GetDepartmentPageDetail(Number(deptCode), Number(lookupCode), Number(pageCode)).subscribe(res => { if (res.IsSuccess) { let cat = res.Data; this.model = res.Data; this.pageTitle.NameEnglish = cat.SubjectEng; this.pageTitle.NameHindi = cat.SubjectHindi; if (this.model.DepartmentCode && src_environments_environment__WEBPACK_IMPORTED_MODULE_4__[/* environment */ "a"].LocalWebsiteCode == '4444') { localStorage.setItem("websiteCode", this.model.DepartmentCode.toString()); this.getDepartmentDetail(Number(this.model.DepartmentCode)); this.GetDepartmentMenuList(Number(this.model.DepartmentCode)); } if (cat && this.submenuCode == 0) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_1__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = cat.SubjectEng; this.pageTitle.NameHindi = cat.SubjectHindi; this.commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } if (this.model.DepartmentPagesMetaKeyword) { this.keywords = this.model.DepartmentPagesMetaKeyword; this.metaTagService.updateTag({ name: 'keywords', content: this.keywords }); } if (this.model.DepartmentPagesMetaDescription) { this.description = this.model.DepartmentPagesMetaDescription; this.metaTagService.updateTag({ name: 'description', content: this.description }); } } }, error => { console.error(error); }); } getDepartmentDetail(deptCode) { debugger; if (Number.isNaN(deptCode) == true) { this.router.navigate(["page-not-found"]); } this._departmentService.GetDepartmentDetailByDptCode(deptCode).subscribe((response) => { var _a, _b, _c; if (response.Data == null || response.IsSuccess == false) { this.router.navigate(["page-not-found"]); } if (response.IsSuccess) { this.dptModel = (_a = response) === null || _a === void 0 ? void 0 : _a.Data; if (this.dptModel) { if (this.dptModel.WebsiteLogoPath) { //set favicon icon this._commonService.changeFaviconIcon(this.dptModel.WebsiteLogoPath); } // let lang = localStorage.getItem("language"); // if (this.dptModel?.DefaultLanguage || lang) { // this._commonService.ChangeLanguage(this.dptModel?.DefaultLanguage || lang); // } if ((_b = this.dptModel) === null || _b === void 0 ? void 0 : _b.WebsiteImage) { let backgroundImage = (_c = this.dptModel) === null || _c === void 0 ? void 0 : _c.WebsiteImage; this.dptModel.WebsiteImage = backgroundImage.split(' ').join('%20'); } else { this.dptModel.WebsiteImage = 'assets/images/website/bg-patter-1.jpg'; } this.dptModel.IFrameURLSafe = this.sanitizer.bypassSecurityTrustResourceUrl(this.dptModel.IFrameURL); this.templateClass = this.dptModel.TemplateClass; let isDist = (this.dptModel.DepartmentDistrictCode == this.enumdata.District); localStorage.setItem("IsDistrict", JSON.stringify(isDist)); localStorage.setItem("DistrictName", this.dptModel.DepartmentTitle); localStorage.setItem("DistrictNameHindi", this.dptModel.DepartmentTitleHindi); localStorage.setItem("FolderName", this.dptModel.FolderName); localStorage.setItem("MenuBarClass", this.dptModel.MenuBarClass); localStorage.setItem("IsHideTenderFromHome", this.dptModel.IsHideTenderFromHome); localStorage.setItem("TemplateClass", this.templateClass); localStorage.setItem("metaKeywords", this.dptModel.MetaTagKeywords); localStorage.setItem("metaDescription", this.dptModel.MetaTagDescriptions); localStorage.setItem("IsCodeOfConduct", JSON.stringify(this.dptModel.IsCodeOfConduct)); this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? "मुख पृष्ठ" : "Home"); if (localStorage.getItem('metaKeywords') == "undefined" || localStorage.getItem('metaKeywords') == "null") { this.keywords = 'Jankalyan Portal, Public Welfare Portal, जनकल्याण पोर्टल, Government of Rajasthan, राजस्थान सरकार, Jaipur, Rajasthan, Portal'; } else { this.keywords = localStorage.getItem('metaKeywords'); } this.metaTagService.updateTag({ name: 'keywords', content: this.keywords }); if (localStorage.getItem('metaDescription') == "undefined" || localStorage.getItem('metaDescription') == "null") { this.description = "The government of Rajasthan is committed to public welfare as well being of its public is the priority of the Government.Jankalyan portal(a Public Welfare Portal) fulfills this ideology of Hon’ble Chief Minister of Rajasthan “जनकल्याण ही प्राथमिकता जनकल्याण ही प्रतिबद्धता”"; } else { this.description = localStorage.getItem('metaDescription'); } this.metaTagService.updateTag({ name: 'description', content: this.description }); this._departmentService.setDepartmentDetail(this.dptModel); // if (this.dptModel.MetaTagKeywords == null || this.dptModel.MetaTagKeywords == undefined) { // this.keywords = 'Jankalyan Portal, Public Welfare Portal, जनकल्याण पोर्टल, Government of Rajasthan, राजस्थान सरकार, Jaipur, Rajasthan, Portal'; // } else { // this.keywords = this.dptModel.MetaTagKeywords; // } // this.metaTagService.updateTag({ name: 'keywords', content: this.keywords }); // // localStorage.setItem("metaKeywords", this.keywords); // if (this.dptModel.MetaTagDescription == null || this.dptModel.MetaTagDescription == undefined) { // this.description = 'The government of Rajasthan is committed to public welfare as well being of its public is the priority of the Government.Jankalyan portal(a Public Welfare Portal) fulfills this ideology of Hon’ble Chief Minister of Rajasthan “जनकल्याण ही प्राथमिकता जनकल्याण ही प्रतिबद्धता”'; // } else { // this.description = this.dptModel.MetaTagDescription; // } // this.metaTagService.updateTag({ name: 'description', content: this.description }); // if (this.dptModel.MetaTagKeywords == null || this.dptModel.MetaTagKeywords == undefined) { // this.keywords = 'Jankalyan Portal, Public Welfare Portal, जनकल्याण पोर्टल, Government of Rajasthan, राजस्थान सरकार, Jaipur, Rajasthan, Portal'; // } else { // this.keywords = this.dptModel.MetaTagKeywords; // } // localStorage.setItem("metaKeywords", this.keywords); // if (this.dptModel.MetaTagDescriptions == null || this.dptModel.MetaTagDescriptions == undefined) { // this.description = 'The government of Rajasthan is committed to public welfare as well being of its public is the priority of the Government.Jankalyan portal(a Public Welfare Portal) fulfills this ideology of Hon’ble Chief Minister of Rajasthan “जनकल्याण ही प्राथमिकता जनकल्याण ही प्रतिबद्धता”'; // } else { // this.description = this.dptModel.MetaTagDescriptions; // } // localStorage.setItem("metaDescription", this.description); } } }, (error) => { }); } GetDepartmentMenuList(deptCode) { this._departmentService.GetDepartmentMenuList(deptCode).subscribe((response) => { if (response.IsSuccess) { let menuListModel = response.Data; if (menuListModel) { this._departmentService.setDeptMenuList(menuListModel); } } }, (error) => { console.error(error); }); } skipToMainContent() { this.skipper.nativeElement.focus(); } onSkipToNavbar() { //this.openNav(); this.skipperNavbar.nativeElement.focus(); } setFont(size) { if (size == undefined) { this.fontSize = sessionStorage.getItem("fontSize") != null ? Number(sessionStorage.getItem("fontSize")) : this.fontSize; } else { this.fontSize = size; sessionStorage.setItem("fontSize", this.fontSize.toString()); } this.pageBody.nativeElement.style.fontSize = `${this.fontSize}px`; } setTheme(cssClass = "") { if (cssClass == "") { cssClass = localStorage.getItem("currentTheme") != null ? localStorage.getItem("currentTheme") : "theme-default"; } else { localStorage.setItem("currentTheme", cssClass); } let el = this.pageBody.nativeElement; let classes = el.className.split(" "); let regex = /^b\d$/; classes.forEach((cl) => { if (cl.length > 0) { this.renderer.removeClass(el, cl); } }); if (cssClass != undefined) { this.renderer.addClass(el, cssClass); } else { this.renderer.addClass(el, "theme-default"); } } ngOnDestroy() { if (localStorage.getItem('metaKeywords') == "undefined" || localStorage.getItem('metaKeywords') == "null") { this.keywords = 'Jankalyan Portal, Public Welfare Portal, जनकल्याण पोर्टल, Government of Rajasthan, राजस्थान सरकार, Jaipur, Rajasthan, Portal'; } else { this.keywords = localStorage.getItem('metaKeywords'); } this.metaTagService.updateTag({ name: 'keywords', content: this.keywords }); if (localStorage.getItem('metaDescription') == "undefined" || localStorage.getItem('metaDescription') == "null") { this.description = "The government of Rajasthan is committed to public welfare as well being of its public is the priority of the Government.Jankalyan portal(a Public Welfare Portal) fulfills this ideology of Hon’ble Chief Minister of Rajasthan “जनकल्याण ही प्राथमिकता जनकल्याण ही प्रतिबद्धता”"; } else { this.description = localStorage.getItem('metaDescription'); } this.metaTagService.updateTag({ name: 'description', content: this.description }); } } DepartmentPageDetailComponent.ɵfac = function DepartmentPageDetailComponent_Factory(t) { return new (t || DepartmentPageDetailComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_department_profile_service__WEBPACK_IMPORTED_MODULE_6__[/* DepartmentProfileService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__[/* TranslateService */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_8__[/* DomSanitizer */ "b"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_9__[/* ActivatedRoute */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_9__[/* Router */ "b"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_10__[/* CommonService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_11__[/* DptDistrictWebsiteService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_department_service__WEBPACK_IMPORTED_MODULE_12__[/* DepartmentService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_angular_router__WEBPACK_IMPORTED_MODULE_9__[/* Router */ "b"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_10__[/* CommonService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](src_app_Shared_Service_app_service__WEBPACK_IMPORTED_MODULE_13__[/* AppService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_angular_core__WEBPACK_IMPORTED_MODULE_5__[/* Renderer2 */ "K"]), _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdirectiveInject */ "Vb"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_8__[/* Meta */ "c"])); }; DepartmentPageDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵdefineComponent */ "Pb"]({ type: DepartmentPageDetailComponent, selectors: [["app-department-page-detail"]], viewQuery: function DepartmentPageDetailComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵviewQuery */ "bd"](_c0, true); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵviewQuery */ "bd"](_c1, true); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵviewQuery */ "bd"](_c2, true); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵviewQuery */ "bd"](_c3, true); } if (rf & 2) { var _t; _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵqueryRefresh */ "Jc"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵloadQuery */ "jc"]()) && (ctx.skipper = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵqueryRefresh */ "Jc"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵloadQuery */ "jc"]()) && (ctx.skipperNavbar = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵqueryRefresh */ "Jc"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵloadQuery */ "jc"]()) && (ctx.pageBody = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵqueryRefresh */ "Jc"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵloadQuery */ "jc"]()) && (ctx.pdfContent = _t.first); } }, inputs: { pageUrlCode: "pageUrlCode" }, decls: 10, vars: 9, consts: [["id", "sticky-anchor"], ["class", "breadcrumb_nav", "aria-label", "breadcrumb", 4, "ngIf"], [1, "col-lg-12", "mt-5"], [1, "title", "text-center", "mb-1"], [1, "img-fluid", 3, "src", "title", "alt"], [4, "ngIf"], ["class", "inner-p age page-about page-editor-entry-design", 4, "ngIf"], [3, "showImage", 4, "ngIf"], ["aria-label", "breadcrumb", 1, "breadcrumb_nav"], [1, "container", "p-0"], [1, "breadcrumb"], [1, "breadcrumb-item"], [3, "routerLink"], ["aria-current", "page", 1, "breadcrumb-item", "active"], [1, "inner-p", "age", "page-about", "page-editor-entry-design"], [1, "container"], [1, "row"], ["class", "col-lg-12", 4, "ngIf"], [1, "col-lg-12"], [1, "about-yajona-text"], ["style", "text-align: end;", 4, "ngIf"], [1, "pdf-wrapper"], ["pdfContent", ""], [1, "department-page-html", 3, "innerHTML"], [2, "text-align", "end"], ["title", "High quality PDF download", 1, "btn", "btn-primary", "mt-3", 3, "disabled", "click"], ["class", "spinner-border spinner-border-sm me-1", 4, "ngIf"], [1, "spinner-border", "spinner-border-sm", "me-1"], [3, "showImage"]], template: function DepartmentPageDetailComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](1, DepartmentPageDetailComponent_nav_1_Template, 10, 6, "nav", 1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](2, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementStart */ "ac"](3, "h1", 3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelement */ "Wb"](4, "img", 4); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](5, DepartmentPageDetailComponent_span_5_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](6, DepartmentPageDetailComponent_span_6_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](7, DepartmentPageDetailComponent_section_7_Template, 5, 1, "section", 6); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](8, DepartmentPageDetailComponent_app_mini_loader_8_Template, 1, 0, "app-mini-loader", 5); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵtemplate */ "Tc"](9, DepartmentPageDetailComponent_app_no_records_9_Template, 1, 1, "app-no-records", 7); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageUrlCode); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("src", (ctx.pageTitle == null ? null : ctx.pageTitle.ImagePath) || "assets/images/requered-doc.png", _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx.pageTitle ? ctx.translate.currentLang != "hi" ? ctx.pageTitle == null ? null : ctx.pageTitle.NameEnglish : ctx.pageTitle == null ? null : ctx.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx.pageTitle ? ctx.translate.currentLang != "hi" ? ctx.pageTitle == null ? null : ctx.pageTitle.NameEnglish : ctx.pageTitle == null ? null : ctx.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx.model); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", !ctx.model); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__[/* ɵɵproperty */ "tc"]("ngIf", ctx.model && ctx.commonService.GetObjectLength(ctx.model) == 0); } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_14__[/* NgIf */ "n"], _angular_router__WEBPACK_IMPORTED_MODULE_9__[/* RouterLinkWithHref */ "d"], src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_15__[/* MiniLoaderComponent */ "a"], src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_16__[/* NoRecordsComponent */ "a"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__[/* TranslatePipe */ "c"]], styles: ["", ".department-page-html[_ngcontent-%COMP%] {\n width: 100%;\n overflow-x: scroll;\n }"] }); return DepartmentPageDetailComponent; })(); /***/ }), /***/ "I55L": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isArrayLike; }); const isArrayLike = ((x) => x && typeof x.length === 'number' && typeof x !== 'function'); //# sourceMappingURL=isArrayLike.js.map /***/ }), /***/ "IKal": /***/ (function(module, exports, __webpack_require__) { "use strict"; /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var ArgumentOutOfRangeErrorImpl = /*@__PURE__*/ (function () { function ArgumentOutOfRangeErrorImpl() { Error.call(this); this.message = 'argument out of range'; this.name = 'ArgumentOutOfRangeError'; return this; } ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype); return ArgumentOutOfRangeErrorImpl; })(); exports.ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl; /***/ }), /***/ "IjjT": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/Scheduler.js let Scheduler = /*@__PURE__*/ (() => { class Scheduler { constructor(SchedulerAction, now = Scheduler.now) { this.SchedulerAction = SchedulerAction; this.now = now; } schedule(work, delay = 0, state) { return new this.SchedulerAction(this, work).schedule(state, delay); } } Scheduler.now = () => Date.now(); return Scheduler; })(); //# sourceMappingURL=Scheduler.js.map // CONCATENATED MODULE: ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AsyncScheduler_AsyncScheduler; }); class AsyncScheduler_AsyncScheduler extends Scheduler { constructor(SchedulerAction, now = Scheduler.now) { super(SchedulerAction, () => { if (AsyncScheduler_AsyncScheduler.delegate && AsyncScheduler_AsyncScheduler.delegate !== this) { return AsyncScheduler_AsyncScheduler.delegate.now(); } else { return now(); } }); this.actions = []; this.active = false; this.scheduled = undefined; } schedule(work, delay = 0, state) { if (AsyncScheduler_AsyncScheduler.delegate && AsyncScheduler_AsyncScheduler.delegate !== this) { return AsyncScheduler_AsyncScheduler.delegate.schedule(work, delay, state); } else { return super.schedule(work, delay, state); } } flush(action) { const { actions } = this; if (this.active) { actions.push(action); return; } let error; this.active = true; do { if (error = action.execute(action.state, action.delay)) { break; } } while (action = actions.shift()); this.active = false; if (error) { while (action = actions.shift()) { action.unsubscribe(); } throw error; } } } //# sourceMappingURL=AsyncScheduler.js.map /***/ }), /***/ "IzEk": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return take; }); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7o/Q"); /* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4I5i"); /* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("EY2u"); function take(count) { return (source) => { if (count === 0) { return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[/* empty */ "b"])(); } else { return source.lift(new TakeOperator(count)); } }; } class TakeOperator { constructor(total) { this.total = total; if (this.total < 0) { throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__[/* ArgumentOutOfRangeError */ "a"]; } } call(subscriber, source) { return source.subscribe(new TakeSubscriber(subscriber, this.total)); } } class TakeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[/* Subscriber */ "a"] { constructor(destination, total) { super(destination); this.total = total; this.count = 0; } _next(value) { const total = this.total; const count = ++this.count; if (count <= total) { this.destination.next(value); if (count === total) { this.destination.complete(); this.unsubscribe(); } } } } //# sourceMappingURL=take.js.map /***/ }), /***/ "K2V9": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SchemeService; }); /* harmony import */ var _Model_dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ADQb"); /* harmony import */ var _Model_app_setting__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GAWG"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("fXoL"); /* harmony import */ var _base_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("MLVi"); let SchemeService = /*@__PURE__*/ (() => { class SchemeService { constructor(_baseService) { this._baseService = _baseService; } GetSchemeData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetSchemeListUrl, model); } GetFilterSchemeData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetFilterSchemeListUrl, model); } GetById(id) { const param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_0__[/* Dictionary */ "a"](); param.Add("id", id); const result = this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].SchemeGetUrlById, param); return result; } GetSchemeFaq(schemeId) { var param = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_0__[/* Dictionary */ "a"](); param.Add("id", schemeId); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetSchemeFaqUrl, param); } GetSchemeGallaryListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetSchemeGallaryListUrl, model); } GetSchemeGallaryImageListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetSchemeGallaryPhotosListUrl, model); } GetSchemeGallaryVideoListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetSchemeGallaryVideoListUrl, model); } GetSchemeGallaryYoutubeListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetSchemeGallaryYoutubeListUrl, model); } GetSchemeGallaryVideoYoutubeListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetSchemeGallaryVideoYoutubeListUrl, model); } GetTopSchemeByDepartment(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetTopSchemeByDepartmentListUrl, model); } GetOrderListByScheme(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].OrderListUrl, model); } GetImportantDecisionListData(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetImportantDecisionListurl, model); } GetSchemeStatusListBySchemeCode(model) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetSchemeStatusListurl, model); } GetGalleryData(model, excludeTypes) { return this._baseService.post(_Model_app_setting__WEBPACK_IMPORTED_MODULE_1__[/* AppSetting */ "a"].GetGalleryDataUrl + '?excludeUploadType=' + excludeTypes, model); } } SchemeService.ɵfac = function SchemeService_Factory(t) { return new (t || SchemeService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵinject */ "ec"](_base_service__WEBPACK_IMPORTED_MODULE_3__[/* BaseService */ "a"])); }; SchemeService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdefineInjectable */ "Rb"]({ token: SchemeService, factory: SchemeService.ɵfac, providedIn: 'root' }); return SchemeService; })(); /***/ }), /***/ "Kqap": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return scan; }); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7o/Q"); function scan(accumulator, seed) { let hasSeed = false; if (arguments.length >= 2) { hasSeed = true; } return function scanOperatorFunction(source) { return source.lift(new ScanOperator(accumulator, seed, hasSeed)); }; } class ScanOperator { constructor(accumulator, seed, hasSeed = false) { this.accumulator = accumulator; this.seed = seed; this.hasSeed = hasSeed; } call(subscriber, source) { return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed)); } } class ScanSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[/* Subscriber */ "a"] { constructor(destination, accumulator, _seed, hasSeed) { super(destination); this.accumulator = accumulator; this._seed = _seed; this.hasSeed = hasSeed; this.index = 0; } get seed() { return this._seed; } set seed(value) { this.hasSeed = true; this._seed = value; } _next(value) { if (!this.hasSeed) { this.seed = value; this.destination.next(value); } else { return this._tryNext(value); } } _tryNext(value) { const index = this.index++; let result; try { result = this.accumulator(this.seed, value, index); } catch (err) { this.destination.error(err); } this.seed = result; this.destination.next(result); } } //# sourceMappingURL=scan.js.map /***/ }), /***/ "LBXl": /***/ (function(module, exports, __webpack_require__) { "use strict"; /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var UnsubscriptionErrorImpl = /*@__PURE__*/ (function () { function UnsubscriptionErrorImpl(errors) { Error.call(this); this.message = errors ? errors.length + " errors occurred during unsubscription:\n" + errors.map(function (err, i) { return i + 1 + ") " + err.toString(); }).join('\n ') : ''; this.name = 'UnsubscriptionError'; this.errors = errors; return this; } UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype); return UnsubscriptionErrorImpl; })(); exports.UnsubscriptionError = UnsubscriptionErrorImpl; /***/ }), /***/ "LRne": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return of; }); /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("z+Ro"); /* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("yCtX"); /* harmony import */ var _scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("jZKg"); function of(...args) { let scheduler = args[args.length - 1]; if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__[/* isScheduler */ "a"])(scheduler)) { args.pop(); return Object(_scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__[/* scheduleArray */ "a"])(args, scheduler); } else { return Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[/* fromArray */ "a"])(args); } } //# sourceMappingURL=of.js.map /***/ }), /***/ "LYBR": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommonService; }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("XNiG"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ofXK"); /* harmony import */ var _Enum_url_enum__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("AeFW"); /* harmony import */ var _Model_dictionary__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("ADQb"); /* harmony import */ var _Model_app_setting__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("GAWG"); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("PSD3"); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("fXoL"); /* harmony import */ var _base_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("MLVi"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("sYmb"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("jhN1"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("tyNb"); let CommonService = /*@__PURE__*/ (() => { class CommonService { constructor(_baseService, translate, _titleService, _location, router) { this._baseService = _baseService; this.translate = translate; this._titleService = _titleService; this._location = _location; this.router = router; this.updateMenu = new rxjs__WEBPACK_IMPORTED_MODULE_0__[/* Subject */ "a"](); } changeLanguage(language) { if (language && (language == 'en' || language == 'hi')) { this.translate.use(language); localStorage.setItem("language", language); } } changeFaviconIcon(url) { let favIcon = document.querySelector('#appFavicon'); favIcon.href = url; } GetObjectLength(obj) { if (obj) return Object.keys(obj).length; else return 0; } ConvertMbintoByte(data) { return data * 1024 * 1024; } // SetWebTitle(title: string) { // title = title.trim(); // let distName = ""; // if (localStorage.getItem("DistrictName") == null || localStorage.getItem("DistrictName") == undefined) { // distName = 'District Portal'; // } else { // distName = localStorage.getItem("DistrictName"); // } // let distNameHindi = ""; // if (localStorage.getItem("DistrictNameHindi") == undefined || localStorage.getItem("DistrictNameHindi") == null) { // distNameHindi = 'जिला पोर्टल'; // } else { // distNameHindi = localStorage.getItem("DistrictNameHindi"); // } // title += this.translate.currentLang == "hi" ? ((title?.length > 0 ? " | " : "") + distNameHindi + ", राजस्थान सरकार") : ((title?.length > 0 ? " | " : "") + distName + ", Rajasthan Government"); // this._titleService.setTitle(title); // } SetWebTitle(title) { var _a, _b; title = title.trim(); let isDist = this.IsDistrict(); if (this.translate.currentLang == "hi") { let portalNameHindi = isDist ? 'जिला पोर्टल' : 'विभाग पोर्टल'; let lsPortalNameHindi = localStorage.getItem("DistrictNameHindi"); if (lsPortalNameHindi) { portalNameHindi = lsPortalNameHindi; } title += (((_a = title) === null || _a === void 0 ? void 0 : _a.length) > 0 ? " | " : "") + portalNameHindi + ", राजस्थान सरकार"; } else { let portalName = isDist ? 'District Portal' : 'Department Portal'; let lsPortalName = localStorage.getItem("DistrictName"); if (lsPortalName) { portalName = lsPortalName; } title += (((_b = title) === null || _b === void 0 ? void 0 : _b.length) > 0 ? " | " : "") + portalName + ", Rajasthan Government"; } this._titleService.setTitle(title); } GetWebDistDeptCode(value = 0) { let deptcode = value; let ls_deptCode = localStorage.getItem("websiteCode"); if (ls_deptCode) { deptcode = Number(ls_deptCode); } return deptcode; } GetLanguage() { let lang = localStorage.getItem("language"); return lang ? lang : 'hi'; } GetLocalStorageVal(keyName) { let key = localStorage.getItem(keyName); if (key) { return key; } return ''; } GetHomePageUrl() { return '/' + _Enum_url_enum__WEBPACK_IMPORTED_MODULE_2__[/* UrlEnum */ "a"].HomeUrl + '' + String(this.GetWebDistDeptCode()); } IsDistrict() { let isDist = false; let ls_isDist = localStorage.getItem("IsDistrict"); if (ls_isDist) { isDist = JSON.parse(ls_isDist); } return isDist; } numberOnly(event, isCommaOrDash = false) { const charCode = event.which ? event.which : event.keyCode; if (isCommaOrDash) { if (charCode == 44 || charCode == 45) { return true; } } if (charCode > 31 && (charCode < 48 || charCode > 57)) { return false; } return true; } GetHindiMonthDate(inputDate) { const monthNames = ["जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून", "जुलाई", "अगस्त", "सितंबर", "अक्टूबर", "नवंबर", "दिसंबर",]; const monthNamesEng = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December",]; const Month = monthNames[new Date().getMonth()]; const datePipe = new _angular_common__WEBPACK_IMPORTED_MODULE_1__[/* DatePipe */ "e"]("en-US"); let currentDt = datePipe.transform(inputDate, "MMMM dd yyyy"); currentDt.toString().replace(monthNamesEng[inputDate.getMonth()], Month.toString()); return currentDt.toString().replace(monthNamesEng[inputDate.getMonth()], Month.toString()); } GetIpAddress() { return this._baseService.get("https://jsonip.com"); } ShareOnWhatsapp(text = "", link = "") { window.open("https://web.whatsapp.com/send?text=*" + text + "* %0a" + link, '_blank'); } ChangeLanguage(language) { this.translate.use(language); localStorage.setItem("language", language); } GetMapLayer(LayerName) { return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_4__[/* AppSetting */ "a"].HereMapLayerUrl + LayerName); } setFocus(id) { // https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView let element = document.getElementById(id); element.scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest" }); } gotoPreviousPage() { this._location.back(); } IsDocExtenstionURL(url) { var docDgx = new RegExp(/\.(?:pdf|PDF|doc|docx|xlsx|xls)$/i); if (docDgx.test(url)) { return true; } else { return false; } } GetDeptCodeByVirtualDirectory(base) { let dir = document.location.pathname.split('/')[1]; dir = dir.toLocaleLowerCase(); if (dir) { //#region animalhusbandry -- (masking: medicalportal.rajasthan.gov.in) if (base == 'animalhusbandry' && dir == 'ah') { return '10'; } else if (base == 'animalhusbandry' && dir == 'ahtikota') { return '1880'; } else if (base == 'animalhusbandry' && dir == 'ahtiudaipur') { return '1878'; } else if (base == 'animalhusbandry' && dir == 'ahtijodhpur') { return '1876'; } else if (base == 'animalhusbandry' && dir == 'ahtijaipur') { return '1879'; } //#endregion //#region agriculture -- (masking: medicalportal.rajasthan.gov.in) else if (base == 'agriculture' && dir == 'agriculture') { return '5'; } else if (base == 'agriculture' && dir == 'rsamb') { return '6'; } else if (base == 'agriculture' && dir == 'dam') { return '7'; } else if (base == 'agriculture' && dir == 'horticulture') { return '81'; } else if (base == 'agriculture' && dir == 'rka') { return '335'; } else if (base == 'agriculture' && dir == 'rocl') { return '339'; } else if (base == 'agriculture' && dir == 'rssoca') { return '294'; } else if (base == 'agriculture' && dir == 'rsscl') { return '149'; } else if (base == 'agriculture' && dir == 'rswc') { return '150'; } else if (base == 'agriculture' && dir == 'siam') { return '284'; } //#endregion //#region medicaleducation -- (masking: medicalportal.rajasthan.gov.in) else if (base == 'medicaleducation' && dir == 'me') { return '102'; } else if (base == 'medicaleducation' && dir == 'smsjaipur') { return '357'; } else if (base == 'medicaleducation' && dir == 'mcjodhpur') { return '257'; } else if (base == 'medicaleducation' && dir == 'jlnajmer') { return '306'; } else if (base == 'medicaleducation' && dir == 'rntudaipur') { return '270'; } else if (base == 'medicaleducation' && dir == 'mcbikaner') { return '286'; } else if (base == 'medicaleducation' && dir == 'rajmes') { return '505'; } else if (base == 'medicaleducation' && dir == 'mckota') { return '302'; } else if (base == 'medicaleducation' && dir == 'mcjhalawar') { return '230'; } else if (base == 'medicaleducation' && dir == 'mcbarmer') { return '487'; } else if (base == 'medicaleducation' && dir == 'mcbharatpur') { return '490'; } else if (base == 'medicaleducation' && dir == 'mcbhilwara') { return '489'; } else if (base == 'medicaleducation' && dir == 'mcchuru') { return '488'; } else if (base == 'medicaleducation' && dir == 'mcdungarpur') { return '492'; } else if (base == 'medicaleducation' && dir == 'mcpali') { return '491'; } else if (base == 'medicaleducation' && dir == 'mcsikar') { return '486'; } else if (base == 'medicaleducation' && dir == 'mcnagaur') { return '498'; } else if (base == 'medicaleducation' && dir == 'mcalwar') { return '497'; } else if (base == 'medicaleducation' && dir == 'mcbundi') { return '1001'; } else if (base == 'medicaleducation' && dir == 'mcchittorgarh') { return '501'; } else if (base == 'medicaleducation' && dir == 'mcdausa') { return '999'; } else if (base == 'medicaleducation' && dir == 'mcdholpur') { return '502'; } else if (base == 'medicaleducation' && dir == 'mcganganagar') { return '503'; } else if (base == 'medicaleducation' && dir == 'mchanumangarh') { return '1000'; } else if (base == 'medicaleducation' && dir == 'mckarauli') { return '1002'; } else if (base == 'medicaleducation' && dir == 'mcsirohi') { return '504'; } else if (base == 'medicaleducation' && dir == 'ruhsdental') { return '265'; } else if (base == 'medicaleducation' && dir == 'gacjaipur') { return '1869'; } else if (base == 'medicaleducation' && dir == 'mcbaran') { return '1864'; } else if (base == 'medicaleducation' && dir == 'mcbanswara') { return '1865'; } else if (base == 'medicaleducation' && dir == 'mcjhunjhunu') { return '1866'; } else if (base == 'medicaleducation' && dir == 'mcnagaur') { return '1867'; } else if (base == 'medicaleducation' && dir == 'mcsawaimdhopur') { return '1868'; } else if (base == 'medicaleducation' && dir == 'gacbharatpur') { return '1870'; } else if (base == 'medicaleducation' && dir == 'gackekari') { return '1860'; } else if (base == 'medicaleducation' && dir == 'gacbikaner') { return '1862'; } else if (base == 'medicaleducation' && dir == 'mmu') { return '1872'; } else if (base == 'medicaleducation' && dir == 'gacsikar') { return '1861'; } //#endregion //#region water -- (masking: medicalportal.rajasthan.gov.in) else if (base == 'water' && dir == 'wrpa') { return '1151'; } else if (base == 'water' && dir == 'swrpd') { return '1150'; } else if (base == 'water' && dir == 'imtikota') { return '266'; } else if (base == 'water' && dir == 'cadwu') { return '153'; } else if (base == 'water' && dir == 'cadchambalkota') { return '1010'; } else if (base == 'water' && dir == 'cadignpbikaner') { return '1009'; } else if (base == 'water' && dir == 'cadeastjaipur') { return '1008'; } else if (base == 'water' && dir == 'wdsc') { return '143'; } else if (base == 'water' && dir == 'cadbisalpurtonk') { return '1011'; } else if (base == 'water' && dir == 'ignd') { return '83'; } else if (base == 'water' && dir == 'wr') { return '142'; } else if (base == 'water' && dir == 'ercp') { return '1180'; } //#endregion //#region wcd -- (masking: medicalportal.rajasthan.gov.in) else if (base == 'wcd' && dir == 'icds') { return '82'; } else if (base == 'wcd' && dir == 'we') { return '144'; } //#endregion //#region livelihoods -- (masking: medicalportal.rajasthan.gov.in) else if (base == 'livelihoods' && dir == 'rsldc') { return '403'; } //#endregion //#region exciseonline -- (masking: medicalportal.rajasthan.gov.in) else if (base == 'exciseonline' && dir == 'excise') { return '66'; } else if (base == 'exciseonline' && dir == 'rsgsm') { return '1024'; } else if (base == 'exciseonline' && dir == 'rsbcl') { return '1025'; } //#endregion //#region pwd -- (masking: medicalportal.rajasthan.gov.in) else if (base == 'pwd' && dir == 'pwd') { return '115'; } else if (base == 'pwd' && dir == 'rrsmp') { return '342'; } else if (base == 'pwd' && dir == 'rsrdc') { return '126'; } //#endregion //#region dot else if (base == 'dot' && dir == 'iti') { return '156'; } else if (base == 'dot' && dir == 'dtetrg') { return '402'; } else if (base == 'dot' && dir == 'itiajmer') { return '506'; } else if (base == 'dot' && dir == 'itibeawar') { return '508'; } else if (base == 'dot' && dir == 'itijailajmer') { return '512'; } else if (base == 'dot' && dir == 'itikekri') { return '514'; } else if (base == 'dot' && dir == 'itikishangarh') { return '515'; } else if (base == 'dot' && dir == 'itimasooda') { return '516'; } else if (base == 'dot' && dir == 'itinasirabad') { return '519'; } else if (base == 'dot' && dir == 'ititantoti') { return '527'; } else if (base == 'dot' && dir == 'itiwomenajmer') { return '529'; } else if (base == 'dot' && dir == 'itialwar') { return '535'; } else if (base == 'dot' && dir == 'itibansur') { return '537'; } else if (base == 'dot' && dir == 'itibhiwari') { return '546'; } else if (base == 'dot' && dir == 'itijailalwar') { return '549'; } else if (base == 'dot' && dir == 'itikishangarhbas') { return '557'; } else if (base == 'dot' && dir == 'itilachhmangarh') { return '559'; } else if (base == 'dot' && dir == 'itineemrana') { return '570'; } else if (base == 'dot' && dir == 'itirajgarh') { return '573'; } else if (base == 'dot' && dir == 'itiramgarh') { return '575'; } else if (base == 'dot' && dir == 'itireni') { return '586'; } else if (base == 'dot' && dir == 'itisuheta') { return '589'; } else if (base == 'dot' && dir == 'itithanagajialwar') { return '598'; } else if (base == 'dot' && dir == 'ititijara') { return '601'; } else if (base == 'dot' && dir == 'itiwomenalwar') { return '610'; } else if (base == 'dot' && dir == 'itianandpuri') { return '629'; } else if (base == 'dot' && dir == 'itiarthoona') { return '633'; } else if (base == 'dot' && dir == 'itibagidora') { return '639'; } else if (base == 'dot' && dir == 'itibanswara') { return '649'; } else if (base == 'dot' && dir == 'itichhotisarwa') { return '652'; } else if (base == 'dot' && dir == 'itighatol') { return '656'; } else if (base == 'dot' && dir == 'itikushalgarh') { return '663'; } else if (base == 'dot' && dir == 'itisajjangarh') { return '669'; } else if (base == 'dot' && dir == 'ititalwara') { return '676'; } else if (base == 'dot' && dir == 'itiwomenbanswara') { return '681'; } else if (base == 'dot' && dir == 'itianta') { return '716'; } else if (base == 'dot' && dir == 'itiatru') { return '583'; } else if (base == 'dot' && dir == 'itibaran') { return '737'; } else if (base == 'dot' && dir == 'itichabra') { return '740'; } else if (base == 'dot' && dir == 'itikelwara') { return '752'; } else if (base == 'dot' && dir == 'itishahbad') { return '759'; } else if (base == 'dot' && dir == 'itibalotra') { return '763'; } else if (base == 'dot' && dir == 'itibarmer') { return '767'; } else if (base == 'dot' && dir == 'itibaytoo') { return '771'; } else if (base == 'dot' && dir == 'itichouthan') { return '776'; } else if (base == 'dot' && dir == 'itichorimanna') { return '778'; } else if (base == 'dot' && dir == 'itigudamalani') { return '781'; } else if (base == 'dot' && dir == 'itiramsar') { return '783'; } else if (base == 'dot' && dir == 'itishiv') { return '786'; } else if (base == 'dot' && dir == 'itisindhari') { return '794'; } else if (base == 'dot' && dir == 'itisiwana') { return '795'; } else if (base == 'dot' && dir == 'itibayana') { return '796'; } else if (base == 'dot' && dir == 'itibharatpur') { return '797'; } else if (base == 'dot' && dir == 'itigopalgarh') { return '798'; } else if (base == 'dot' && dir == 'itijailbharatpur') { return '799'; } else if (base == 'dot' && dir == 'itijodhpur') { return '732'; } //800 else if (base == 'dot' && dir == 'itinagar') { return '836'; } else if (base == 'dot' && dir == 'itipahari') { return '837'; } else if (base == 'dot' && dir == 'itiasind') { return '839'; } else if (base == 'dot' && dir == 'itibanera') { return '842'; } else if (base == 'dot' && dir == 'itibhilwara') { return '843'; } else if (base == 'dot' && dir == 'itigulabpura') { return '848'; } else if (base == 'dot' && dir == 'itikotri') { return '850'; } else if (base == 'dot' && dir == 'itimandal') { return '852'; } else if (base == 'dot' && dir == 'itimandalgarh') { return '854'; } else if (base == 'dot' && dir == 'itiraipur') { return '857'; } else if (base == 'dot' && dir == 'itisahara') { return '864'; } else if (base == 'dot' && dir == 'itishahpura') { return '866'; } else if (base == 'dot' && dir == 'itiuncha') { return '869'; } else if (base == 'dot' && dir == 'itiwomenbhilwara') { return '870'; } else if (base == 'dot' && dir == 'itibikaner') { return '871'; } else if (base == 'dot' && dir == 'itichhattargarh') { return '872'; } else if (base == 'dot' && dir == 'itijailbikaner') { return '873'; } else if (base == 'dot' && dir == 'itikhajuwala') { return '874'; } else if (base == 'dot' && dir == 'itilunkaransar') { return '875'; } else if (base == 'dot' && dir == 'itinokha') { return '876'; } else if (base == 'dot' && dir == 'itipanchoo') { return '877'; } else if (base == 'dot' && dir == 'itisridungargarh') { return '878'; } else if (base == 'dot' && dir == 'itiwomenbikaner') { return '879'; } else if (base == 'dot' && dir == 'itibundi') { return '868'; } else if (base == 'dot' && dir == 'itikeshoraipatan') { return '867'; } else if (base == 'dot' && dir == 'itilakheri') { return '865'; } else if (base == 'dot' && dir == 'ititalera') { return '863'; } else if (base == 'dot' && dir == 'itibadisadri') { return '862'; } else if (base == 'dot' && dir == 'itibegun') { return '861'; } else if (base == 'dot' && dir == 'itibhadasar') { return '860'; } else if (base == 'dot' && dir == 'itichittorgarh') { return '859'; } else if (base == 'dot' && dir == 'itichittorgarh') { return '858'; } else if (base == 'dot' && dir == 'itigangrar') { return '856'; } else if (base == 'dot' && dir == 'itikapasan') { return '855'; } else if (base == 'dot' && dir == 'itirashmi') { return '853'; } else if (base == 'dot' && dir == 'itirawatbhata') { return '851'; } else if (base == 'dot' && dir == 'itichuru') { return '849'; } else if (base == 'dot' && dir == 'itiratangarhchuru') { return '847'; } else if (base == 'dot' && dir == 'itisujangarhchuru') { return '846'; } else if (base == 'dot' && dir == 'itibaswa') { return '844'; } else if (base == 'dot' && dir == 'itidausa') { return '841'; } else if (base == 'dot' && dir == 'itilawan') { return '840'; } else if (base == 'dot' && dir == 'itisikrai') { return '838'; } else if (base == 'dot' && dir == 'itibari') { return '835'; } else if (base == 'dot' && dir == 'itidhaulpur') { return '834'; } else if (base == 'dot' && dir == 'itirajakhera') { return '833'; } else if (base == 'dot' && dir == 'itiseipau') { return '832'; } else if (base == 'dot' && dir == 'itiaspur') { return '831'; } else if (base == 'dot' && dir == 'itibichhiwara') { return '830'; } else if (base == 'dot' && dir == 'iticheekhli') { return '829'; } else if (base == 'dot' && dir == 'itidovra') { return '828'; } else if (base == 'dot' && dir == 'itidungarpur') { return '827'; } else if (base == 'dot' && dir == 'itigaliakot') { return '826'; } else if (base == 'dot' && dir == 'itijhonthri') { return '825'; } else if (base == 'dot' && dir == 'itisagwara') { return '824'; } else if (base == 'dot' && dir == 'itisimalwara') { return '823'; } else if (base == 'dot' && dir == 'itianupgarh') { return '822'; } else if (base == 'dot' && dir == 'itijailganganagar') { return '821'; } else if (base == 'dot' && dir == 'itikaranpur') { return '820'; } else if (base == 'dot' && dir == 'itipadampur') { return '819'; } else if (base == 'dot' && dir == 'itisriganganagar') { return '818'; } else if (base == 'dot' && dir == 'itisuratgarh') { return '817'; } else if (base == 'dot' && dir == 'itihanumangarh') { return '816'; } else if (base == 'dot' && dir == 'itisangariya') { return '815'; } else if (base == 'dot' && dir == 'ititibi') { return '814'; } else if (base == 'dot' && dir == 'itiamer') { return '813'; } else if (base == 'dot' && dir == 'itichomu') { return '812'; } else if (base == 'dot' && dir == 'itidudu') { return '811'; } else if (base == 'dot' && dir == 'itijaipur') { return '810'; } else if (base == 'dot' && dir == 'itikhonagorian') { return '809'; } else if (base == 'dot' && dir == 'itikotputali') { return '808'; } else if (base == 'dot' && dir == 'itifagi') { return '807'; } else if (base == 'dot' && dir == 'itipc') { return '806'; } else if (base == 'dot' && dir == 'itisambhar') { return '805'; } else if (base == 'dot' && dir == 'itisanganer') { return '804'; } else if (base == 'dot' && dir == 'itishahpurajaipur') { return '803'; } else if (base == 'dot' && dir == 'itiwomenjaipur') { return '802'; } else if (base == 'dot' && dir == 'itiricentrejaipur') { return '801'; } else if (base == 'dot' && dir == 'itijaisalmer') { return '793'; } else if (base == 'dot' && dir == 'itipokaran') { return '792'; } else if (base == 'dot' && dir == 'itisam') { return '791'; } else if (base == 'dot' && dir == 'itibhinmal') { return '790'; } else if (base == 'dot' && dir == 'itichitalwana') { return '789'; } else if (base == 'dot' && dir == 'itijalore') { return '788'; } else if (base == 'dot' && dir == 'itijaswantpura') { return '787'; } else if (base == 'dot' && dir == 'itisangod') { return '686'; } else if (base == 'dot' && dir == 'itiraniwara') { return '785'; } else if (base == 'dot' && dir == 'itisanchor') { return '784'; } else if (base == 'dot' && dir == 'itiaklera') { return '782'; } else if (base == 'dot' && dir == 'itibakani') { return '780'; } else if (base == 'dot' && dir == 'itibhawanimandi') { return '779'; } else if (base == 'dot' && dir == 'itijhalawar') { return '777'; } else if (base == 'dot' && dir == 'itijhaalrapatan') { return '775'; } else if (base == 'dot' && dir == 'itikhanpur') { return '774'; } else if (base == 'dot' && dir == 'itipirawa') { return '773'; } else if (base == 'dot' && dir == 'itibinjusar') { return '772'; } else if (base == 'dot' && dir == 'itichirawa') { return '770'; } else if (base == 'dot' && dir == 'itijhunjhunu') { return '768'; } else if (base == 'dot' && dir == 'itikhetari') { return '765'; } else if (base == 'dot' && dir == 'itinavalgarh') { return '760'; } else if (base == 'dot' && dir == 'itibalesar') { return '756'; } else if (base == 'dot' && dir == 'itibap') { return '753'; } else if (base == 'dot' && dir == 'itibhopalgarh') { return '748'; } else if (base == 'dot' && dir == 'itibilara') { return '746'; } else if (base == 'dot' && dir == 'itijailjodhpur') { return '735'; } else if (base == 'dot' && dir == 'itijodhpur') { return '732'; } else if (base == 'dot' && dir == 'itilohawat') { return '729'; } else if (base == 'dot' && dir == 'itiluni') { return '728'; } else if (base == 'dot' && dir == 'itimandor') { return '727'; } else if (base == 'dot' && dir == 'itiphalodi') { return '726'; } else if (base == 'dot' && dir == 'itipiparcity') { return '723'; } else if (base == 'dot' && dir == 'itipcjodhpur') { return '720'; } else if (base == 'dot' && dir == 'itishergarh') { return '715'; } else if (base == 'dot' && dir == 'itiwomenjodhpur') { return '712'; } else if (base == 'dot' && dir == 'itikarauli') { return '708'; } else if (base == 'dot' && dir == 'itinadoti') { return '706'; } else if (base == 'dot' && dir == 'itisapotara') { return '702'; } else if (base == 'dot' && dir == 'itichemical') { return '699'; } else if (base == 'dot' && dir == 'itiitawa') { return '693'; } else if (base == 'dot' && dir == 'itikherabad') { return '691'; } else if (base == 'dot' && dir == 'itikota') { return '689'; } else if (base == 'dot' && dir == 'itipckota') { return '687'; } else if (base == 'dot' && dir == 'itisangod') { return '686'; } else if (base == 'dot' && dir == 'itisultanpur') { return '680'; } else if (base == 'dot' && dir == 'itiwomenkota') { return '677'; } else if (base == 'dot' && dir == 'itijayal') { return '672'; } else if (base == 'dot' && dir == 'itikuchamancity') { return '666'; } else if (base == 'dot' && dir == 'itimertacity') { return '662'; } else if (base == 'dot' && dir == 'itinagaur') { return '658'; } else if (base == 'dot' && dir == 'itinawan') { return '653'; } else if (base == 'dot' && dir == 'itidesuri') { return '650'; } else if (base == 'dot' && dir == 'itijaitaran') { return '647'; } else if (base == 'dot' && dir == 'itipali') { return '643'; } else if (base == 'dot' && dir == 'itiphalna') { return '640'; } else if (base == 'dot' && dir == 'itirani') { return '634'; } else if (base == 'dot' && dir == 'itirohat') { return '631'; } else if (base == 'dot' && dir == 'itisojatcity') { return '627'; } else if (base == 'dot' && dir == 'itiarnod') { return '625'; } else if (base == 'dot' && dir == 'itidhariyawad') { return '623'; } else if (base == 'dot' && dir == 'itipeepalkhoont') { return '621'; } else if (base == 'dot' && dir == 'itipratapgarh') { return '609'; } else if (base == 'dot' && dir == 'itiamet') { return '607'; } else if (base == 'dot' && dir == 'itinathdwara') { return '603'; } else if (base == 'dot' && dir == 'itirajsamand') { return '602'; } else if (base == 'dot' && dir == 'itibamanwas') { return '600'; } else if (base == 'dot' && dir == 'itipratapgarh') { return '609'; } else if (base == 'dot' && dir == 'itichouthkabarwara') { return '581'; } else if (base == 'dot' && dir == 'itigangapur') { return '579'; } else if (base == 'dot' && dir == 'itikhandar') { return '576'; } else if (base == 'dot' && dir == 'itisawaimadhopur') { return '571'; } else if (base == 'dot' && dir == 'itifatehpur') { return '567'; } else if (base == 'dot' && dir == 'itikhund') { return '566'; } else if (base == 'dot' && dir == 'itisikar') { return '556'; } else if (base == 'dot' && dir == 'itisrimadhopur') { return '554'; } else if (base == 'dot' && dir == 'itiwomenlaxmangarh') { return '552'; } else if (base == 'dot' && dir == 'itiaburoad') { return '545'; } else if (base == 'dot' && dir == 'itipindwara') { return '543'; } else if (base == 'dot' && dir == 'itireodar') { return '541'; } else if (base == 'dot' && dir == 'itishivganj') { return '539'; } else if (base == 'dot' && dir == 'itisirohi') { return '538'; } else if (base == 'dot' && dir == 'ititodaraisingh') { return '536'; } else if (base == 'dot' && dir == 'ititonk') { return '534'; } else if (base == 'dot' && dir == 'iticett') { return '532'; } else if (base == 'dot' && dir == 'itibargaon') { return '528'; } else if (base == 'dot' && dir == 'itijailudaipur') { return '526'; } else if (base == 'dot' && dir == 'itikherwara') { return '522'; } else if (base == 'dot' && dir == 'itikotara') { return '520'; } else if (base == 'dot' && dir == 'itikurabar') { return '619'; } else if (base == 'dot' && dir == 'itilasadiya') { return '615'; } else if (base == 'dot' && dir == 'itimawali') { return '518'; } else if (base == 'dot' && dir == 'itipcudaipur') { return '517'; } else if (base == 'dot' && dir == 'itirishabhdev') { return '620'; } else if (base == 'dot' && dir == 'itisalumber') { return '513'; } else if (base == 'dot' && dir == 'itiudaipur') { return '511'; } else if (base == 'dot' && dir == 'itiwomenudaipur') { return '509'; } else if (base == 'dot' && dir == 'itibhilwara') { return '843'; } else if (base == 'dot' && dir == 'itiwomenmandor') { return '1064'; } else if (base == 'dot' && dir == 'itibapini') { return '1065'; } else if (base == 'dot' && dir == 'itidechu') { return '1066'; } else if (base == 'dot' && dir == 'itihameergarh') { return '1031'; } else if (base == 'dot' && dir == 'itiwomentonk') { return '1035'; } else if (base == 'dot' && dir == 'itihindoli') { return '1070'; } else if (base == 'dot' && dir == 'itibhim') { return '1078'; } else if (base == 'dot' && dir == 'itikarera') { return '1030'; } else if (base == 'dot' && dir == 'itikumbhalgarh') { return '1079'; } else if (base == 'dot' && dir == 'itinadbai') { return '1037'; } else if (base == 'dot' && dir == 'itisabla') { return '1076'; } else if (base == 'dot' && dir == 'itiagolai') { return '1069'; } else if (base == 'dot' && dir == 'itiahore') { return '1063'; } else if (base == 'dot' && dir == 'itiamer') { return '813'; } else if (base == 'dot' && dir == 'itiarain') { return '1029'; } else if (base == 'dot' && dir == 'itibagru') { return '1052'; } else if (base == 'dot' && dir == 'itibhadra') { return '1044'; } else if (base == 'dot' && dir == 'itibhaniyana') { return '1061'; } else if (base == 'dot' && dir == 'itibonli') { return '1042'; } else if (base == 'dot' && dir == 'itichhotisadri') { return '1077'; } else if (base == 'dot' && dir == 'itichhotisarwan') { return '652'; } else if (base == 'dot' && dir == 'itichirawa') { return '770'; } else if (base == 'dot' && dir == 'itichomu') { return '812'; } else if (base == 'dot' && dir == 'itideogarh') { return '1080'; } else if (base == 'dot' && dir == 'itidhanau') { return '1057'; } else if (base == 'dot' && dir == 'itidhorimanna') { return '778'; } else if (base == 'dot' && dir == 'itidoongla') { return '858'; } else if (base == 'dot' && dir == 'itifalna') { return '640'; } else if (base == 'dot' && dir == 'itifatehgarh') { return '1062'; } else if (base == 'dot' && dir == 'itigadraroad') { return '1059'; } else if (base == 'dot' && dir == 'itigangapurbhilwara') { return '845'; } else if (base == 'dot' && dir == 'itigangratlai') { return '1073'; } else if (base == 'dot' && dir == 'itighatol') { return '656'; } else if (base == 'dot' && dir == 'itigira') { return '1055'; } else if (base == 'dot' && dir == 'itigogunda') { return '1087'; } else if (base == 'dot' && dir == 'itijailjaipur') { return '1051'; } else if (base == 'dot' && dir == 'itijailkota') { return '1072'; } else if (base == 'dot' && dir == 'itijhalara') { return '1083'; } else if (base == 'dot' && dir == 'itijhunjhunu') { return '768'; } else if (base == 'dot' && dir == 'itikalyanpur') { return '1056'; } else if (base == 'dot' && dir == 'itikaman') { return '800'; } else if (base == 'dot' && dir == 'itikanor') { return '1082'; } else if (base == 'dot' && dir == 'itikathoomar') { return '1046'; } else if (base == 'dot' && dir == 'iitikelwara') { return '752'; } else if (base == 'dot' && dir == 'itikhamnor') { return '1081'; } else if (base == 'dot' && dir == 'iitikhonagorian') { return '809'; } else if (base == 'dot' && dir == 'itikotkasim') { return '1048'; } else if (base == 'dot' && dir == 'itikurabad') { return '619'; } else if (base == 'dot' && dir == 'itimahwa') { return '1050'; } else if (base == 'dot' && dir == 'itimakranashahar') { return '1034'; } else if (base == 'dot' && dir == 'itimandawa') { return '1053'; } else if (base == 'dot' && dir == 'itimandhan') { return '1049'; } else if (base == 'dot' && dir == 'itimertacity') { return '662'; } else if (base == 'dot' && dir == 'itimolasar') { return '1033'; } else if (base == 'dot' && dir == 'itinagaur') { return '658'; } else if (base == 'dot' && dir == 'itinimbahera') { return '1075'; } else if (base == 'dot' && dir == 'itiniwai') { return '1036'; } else if (base == 'dot' && dir == 'itiparbatsar') { return '1032'; } else if (base == 'dot' && dir == 'itipatodi') { return '1058'; } else if (base == 'dot' && dir == 'itiphalasiya') { return '1084'; } else if (base == 'dot' && dir == 'itipidawa') { return '773'; } else if (base == 'dot' && dir == 'itirailmagra') { return '1089'; } else if (base == 'dot' && dir == 'itirashmi') { return '853'; } else if (base == 'dot' && dir == 'itirawatbhata') { return '851'; } else if (base == 'dot' && dir == 'itisadulshahar') { return '1045'; } else if (base == 'dot' && dir == 'itisaimari') { return '1085'; } else if (base == 'dot' && dir == 'itisamdari') { return '1054'; } else if (base == 'dot' && dir == 'itisarmathura') { return '1040'; } else if (base == 'dot' && dir == 'itisarada') { return '1088'; } else if (base == 'dot' && dir == 'itisardarshahar') { return '1043'; } else if (base == 'dot' && dir == 'itisayra') { return '1086'; } else if (base == 'dot' && dir == 'itisekhala') { return ''; } else if (base == 'dot' && dir == 'itiserwa') { return '1060'; } else if (base == 'dot' && dir == 'itishivganj') { return '539'; } else if (base == 'dot' && dir == 'itisirohi') { return '538'; } else if (base == 'dot' && dir == 'iititibi') { return '814'; } else if (base == 'dot' && dir == 'ititiwari') { return '1068'; } else if (base == 'dot' && dir == 'ititodabhim') { return '1041'; } else if (base == 'dot' && dir == 'itiuchchain') { return '1039'; } else if (base == 'dot' && dir == 'itiweir') { return '1038'; } else if (base == 'dot' && dir == 'itimanoharthana') { return '1071'; } else if (base == 'dot' && dir == 'itisawa') { return '1074'; } else if (base == 'dot' && dir == 'iitiwomenjodhpur') { return '712'; } else if (base == 'dot' && dir == 'itibehror') { return '1047'; } //#endregion //#region lsg else if (base == 'lsg' && dir == 'lsg') { return '215'; } // Nagar Nigam else if (base == 'lsg' && dir == 'mcajmer') { return '199'; } else if (base == 'lsg' && dir == 'mcbharatpur') { return '200'; } else if (base == 'lsg' && dir == 'mcbikaner') { return '201'; } // else if (base == 'lsg' && dir == 'mcjaipurgreater') { return '391'; } else if (base == 'lsg' && dir == 'mcjaipurheritage') { return '202'; } else if (base == 'lsg' && dir == 'mcjn') { return '1090'; } // else if (base == 'lsg' && dir == 'mcjs') { return '203'; } else if (base == 'lsg' && dir == 'nnjodhpur') { return '203'; } else if (base == 'lsg' && dir == 'mckotanorth') { return '1091'; } else if (base == 'lsg' && dir == 'mckota') { return '204'; } else if (base == 'lsg' && dir == 'mcudaipur') { return '205'; } //Nagar Palika else if (base == 'lsg' && dir == 'ulbaasind') { return '558'; } else if (base == 'lsg' && dir == 'ulbaamet') { return '628'; } else if (base == 'lsg' && dir == 'ulbaburoad') { return '673'; } else if (base == 'lsg' && dir == 'ulbajitgarh') { return '1133'; } else if (base == 'lsg' && dir == 'ulbaklera') { return '521'; } else if (base == 'lsg' && dir == 'ulbanoopgarh') { return '612'; } else if (base == 'lsg' && dir == 'ulbanta') { return '605'; } else if (base == 'lsg' && dir == 'ulbatru') { return '1142'; } else if (base == 'lsg' && dir == 'ulbbadisadri') { return '641'; } else if (base == 'lsg' && dir == 'ulbbaggar') { return '762'; } else if (base == 'lsg' && dir == 'ulbbagru') { return '705'; } else if (base == 'lsg' && dir == 'ulbbahadurpur') { return '1121'; } else if (base == 'lsg' && dir == 'ulbbalesarsatta') { return '1136'; } else if (base == 'lsg' && dir == 'ulbbali') { return '684'; } else if (base == 'lsg' && dir == 'ulbbamanwas') { return '1106'; } else if (base == 'lsg' && dir == 'ulbbandikui') { return '758'; } else if (base == 'lsg' && dir == 'ulbbansur') { return '1114'; } else if (base == 'lsg' && dir == 'ulbbardod') { return '1117'; } else if (base == 'lsg' && dir == 'ulbbardomev') { return '1120'; } else if (base == 'lsg' && dir == 'ulbbari') { return '710'; } else if (base == 'lsg' && dir == 'ulbbaseri') { return '1104'; } else if (base == 'lsg' && dir == 'ulbbasni') { return '1098'; } else if (base == 'lsg' && dir == 'ulbbassi') { return '1131'; } else if (base == 'lsg' && dir == 'ulbbayana') { return '731'; } else if (base == 'lsg' && dir == 'ulbbegun') { return '635'; } else if (base == 'lsg' && dir == 'ulbbehror') { return '751'; } else if (base == 'lsg' && dir == 'ulbbhadra') { return '659'; } else if (base == 'lsg' && dir == 'ulbbhawanimandi') { return '525'; } else if (base == 'lsg' && dir == 'ulbbhinder') { return '654'; } else if (base == 'lsg' && dir == 'ulbbhinmal') { return '694'; } else if (base == 'lsg' && dir == 'ulbbhopalgarh') { return '1139'; } else if (base == 'lsg' && dir == 'ulbbhusawar') { return '713'; } else if (base == 'lsg' && dir == 'ulbbidasar') { return '595'; } else if (base == 'lsg' && dir == 'ulbbilara') { return '697'; } else if (base == 'lsg' && dir == 'ulbbissau') { return '764'; } else if (base == 'lsg' && dir == 'ulbbolli') { return '1100'; } else if (base == 'lsg' && dir == 'ulbborawar') { return '1097'; } else if (base == 'lsg' && dir == 'ulbchaksu') { return '671'; } else if (base == 'lsg' && dir == 'ulbchhabra') { return '599'; } else if (base == 'lsg' && dir == 'ulbchhapar') { return '593'; } else if (base == 'lsg' && dir == 'ulbchirawa') { return '766'; } else if (base == 'lsg' && dir == 'ulbchomu') { return '667'; } else if (base == 'lsg' && dir == 'ulbchotisadri') { return '622'; } else if (base == 'lsg' && dir == 'ulbdanta') { return '1132'; } else if (base == 'lsg' && dir == 'ulbdeeg') { return '730'; } else if (base == 'lsg' && dir == 'ulbdegana') { return '572'; } else if (base == 'lsg' && dir == 'ulbdeogarh') { return '624'; } else if (base == 'lsg' && dir == 'ulbdeoli') { return '574'; } else if (base == 'lsg' && dir == 'ulbdeshnok') { return '587'; } else if (base == 'lsg' && dir == 'ulbdhariyawad') { return '1145'; } else if (base == 'lsg' && dir == 'ulbdidwana') { return '562'; } else if (base == 'lsg' && dir == 'ulbfatehnagar') { return '660'; } else if (base == 'lsg' && dir == 'ulbfatehpur') { return '743'; } else if (base == 'lsg' && dir == 'ulbgajsinghpur') { return '614'; } else if (base == 'lsg' && dir == 'ulbgangapur') { return '551'; } else if (base == 'lsg' && dir == 'ulbgovindgarh') { return '1115'; } else if (base == 'lsg' && dir == 'ulbgudhagodji') { return '1124'; } else if (base == 'lsg' && dir == 'ulbgulabpura') { return '550'; } else if (base == 'lsg' && dir == 'ulbhammirgadh') { return '1095'; } else if (base == 'lsg' && dir == 'ulbindragarh') { return '530'; } else if (base == 'lsg' && dir == 'ulbitawa') { return '608'; } else if (base == 'lsg' && dir == 'ulbjahazpur') { return '553'; } else if (base == 'lsg' && dir == 'ulbjaitaran') { return '685'; } else if (base == 'lsg' && dir == 'ulbjawal') { return '1140'; } else if (base == 'lsg' && dir == 'ulbjayal') { return '1096'; } else if (base == 'lsg' && dir == 'ulbjhalarapatan') { return '524'; } else if (base == 'lsg' && dir == 'ulbjobner') { return '678'; } else if (base == 'lsg' && dir == 'ulbkaithoon') { return '617'; } else if (base == 'lsg' && dir == 'ulbkaman') { return '724'; } else if (base == 'lsg' && dir == 'ulbkanore') { return '646'; } else if (base == 'lsg' && dir == 'ulbkapasan') { return '637'; } else if (base == 'lsg' && dir == 'ulbkapren') { return '531'; } else if (base == 'lsg' && dir == 'ulbkekri') { return '540'; } else if (base == 'lsg' && dir == 'ulbkesarisinghpur') { return '636'; } else if (base == 'lsg' && dir == 'ulbkeshoraipatan') { return '592'; } else if (base == 'lsg' && dir == 'ulbkhajuwala') { return '1107'; } else if (base == 'lsg' && dir == 'ulbkhandela') { return '738'; } else if (base == 'lsg' && dir == 'ulbkhatushyamji') { return '1130'; } else if (base == 'lsg' && dir == 'ulbkherli') { return '719'; } else if (base == 'lsg' && dir == 'ulbkherthal') { return '714'; } else if (base == 'lsg' && dir == 'ulbkhetri') { return '757'; } else if (base == 'lsg' && dir == 'ulbkhudalafalnast') { return '679'; } else if (base == 'lsg' && dir == 'ulbkishangarhrenwal') { return '704'; } else if (base == 'lsg' && dir == 'ulbkishangarhbas') { return '755'; } else if (base == 'lsg' && dir == 'ulbkothputali') { return '675'; } else if (base == 'lsg' && dir == 'ulbkotkasim') { return '1116'; } else if (base == 'lsg' && dir == 'ulbkuchamancity') { return '563'; } else if (base == 'lsg' && dir == 'ulbkuchera') { return '565'; } else if (base == 'lsg' && dir == 'ulbkumher') { return '717'; } else if (base == 'lsg' && dir == 'ulbkushalgarh') { return '1143'; } else if (base == 'lsg' && dir == 'ulbladnun') { return '560'; } else if (base == 'lsg' && dir == 'ulblakheri') { return '594'; } else if (base == 'lsg' && dir == 'ulblalgarhjataan') { return '1109'; } else if (base == 'lsg' && dir == 'ulblalsot') { return '761'; } else if (base == 'lsg' && dir == 'ulblaxmangarh') { return '742'; } else if (base == 'lsg' && dir == 'ulblaxmangarhalwar') { return '1112'; } else if (base == 'lsg' && dir == 'ulblosal') { return '733'; } else if (base == 'lsg' && dir == 'ulbmahwa') { return '1123'; } else if (base == 'lsg' && dir == 'ulbmalpura') { return '578'; } else if (base == 'lsg' && dir == 'ulbmandalgarh') { return '555'; } else if (base == 'lsg' && dir == 'ulbmandawa') { return '754'; } else if (base == 'lsg' && dir == 'ulbmandawar') { return '1125'; } else if (base == 'lsg' && dir == 'ulbmandawari') { return '1126'; } else if (base == 'lsg' && dir == 'ulbmangrol') { return '597'; } else if (base == 'lsg' && dir == 'ulbmanoharpura') { return '1129'; } else if (base == 'lsg' && dir == 'ulbmarwarjunction') { return '1138'; } else if (base == 'lsg' && dir == 'ulbmertacity') { return '561'; } else if (base == 'lsg' && dir == 'ulbmountabu') { return '510'; } else if (base == 'lsg' && dir == 'ulbmukundgarh') { return '750'; } else if (base == 'lsg' && dir == 'ulbmundwa') { return '569'; } else if (base == 'lsg' && dir == 'ulbnadbai') { return '721'; } else if (base == 'lsg' && dir == 'ulbnagar') { return '711'; } else if (base == 'lsg' && dir == 'ulbnainwa') { return '533'; } else if (base == 'lsg' && dir == 'ulbnaraina') { return '1128'; } else if (base == 'lsg' && dir == 'ulbnasirabad') { return '1094'; } else if (base == 'lsg' && dir == 'ulbnathdwara') { return '626'; } else if (base == 'lsg' && dir == 'ulbnawacity') { return '568'; } else if (base == 'lsg' && dir == 'ulbnawalgarh') { return '769'; } else if (base == 'lsg' && dir == 'ulbneemkathana') { return '736'; } else if (base == 'lsg' && dir == 'ulbneemrana') { return '1119'; } else if (base == 'lsg' && dir == 'ulbnimbahera') { return '644'; } else if (base == 'lsg' && dir == 'ulbniwai') { return '577'; } else if (base == 'lsg' && dir == 'ulbnohar') { return '651'; } else if (base == 'lsg' && dir == 'ulbnokha') { return '584'; } else if (base == 'lsg' && dir == 'ulbpadampur') { return '616'; } else if (base == 'lsg' && dir == 'ulbpaotapragpura') { return '1127'; } else if (base == 'lsg' && dir == 'ulbparbatsar') { return '564'; } else if (base == 'lsg' && dir == 'ulbpartapurgarhi') { return '1144'; } else if (base == 'lsg' && dir == 'ulbphalodi') { return '703'; } else if (base == 'lsg' && dir == 'ulbphulera') { return '696'; } else if (base == 'lsg' && dir == 'ulbpilani') { return '747'; } else if (base == 'lsg' && dir == 'ulbpilibanga') { return '661'; } else if (base == 'lsg' && dir == 'ulbpindwara') { return '665'; } else if (base == 'lsg' && dir == 'ulbpiparcity') { return '700'; } else if (base == 'lsg' && dir == 'ulbpirawa') { return '523'; } else if (base == 'lsg' && dir == 'ulbpokhran') { return '695'; } else if (base == 'lsg' && dir == 'ulbpushkar') { return '542'; } else if (base == 'lsg' && dir == 'ulbraisinghnagar') { return '611'; } else if (base == 'lsg' && dir == 'ulbrajagarh') { return '722'; } else if (base == 'lsg' && dir == 'ulbrajakheda') { return '709'; } else if (base == 'lsg' && dir == 'ulbrajaldesar') { return '596'; } else if (base == 'lsg' && dir == 'ulbrajgarhalwar') { return '1111'; } else if (base == 'lsg' && dir == 'ulbrajgarhchuru') { return '591'; } else if (base == 'lsg' && dir == 'ulbramganjmandi') { return '618'; } else if (base == 'lsg' && dir == 'ulbramgarhalwar') { return '1113'; } else if (base == 'lsg' && dir == 'ulbramgarhshekhawati') { return '741'; } else if (base == 'lsg' && dir == 'ulbranikhurd') { return '674'; } else if (base == 'lsg' && dir == 'ulbraniwada') { return '1135'; } else if (base == 'lsg' && dir == 'ulbratangarh') { return '588'; } else if (base == 'lsg' && dir == 'ulbratannagar') { return '604'; } else if (base == 'lsg' && dir == 'ulbrawatbhata') { return '632'; } else if (base == 'lsg' && dir == 'ulbrawatsar') { return '664'; } else if (base == 'lsg' && dir == 'ulbringus') { return '734'; } else if (base == 'lsg' && dir == 'ulbrishabhdeo') { return '1146'; } else if (base == 'lsg' && dir == 'ulbroopwas') { return '507'; } else if (base == 'lsg' && dir == 'ulbsadri') { return '682'; } else if (base == 'lsg' && dir == 'ulbsadulshahar') { return '638'; } else if (base == 'lsg' && dir == 'ulbsagwara') { return '630'; } else if (base == 'lsg' && dir == 'ulbsalumber') { return '657'; } else if (base == 'lsg' && dir == 'ulbsambhar') { return '670'; } else if (base == 'lsg' && dir == 'ulbsanchore') { return '692'; } else if (base == 'lsg' && dir == 'ulbsangariya') { return '655'; } else if (base == 'lsg' && dir == 'ulbsangod') { return '613'; } else if (base == 'lsg' && dir == 'ulbsapotra') { return '1105'; } else if (base == 'lsg' && dir == 'ulbsardarshahar') { return '590'; } else if (base == 'lsg' && dir == 'ulbsarwar') { return '544'; } else if (base == 'lsg' && dir == 'ulbsemari') { return '1147'; } else if (base == 'lsg' && dir == 'ulbbhilwarashahpura') { return '548'; } else if (base == 'lsg' && dir == 'ulbshahpura') { return '701'; } else if (base == 'lsg' && dir == 'ulbsheoganj') { return '668'; } else if (base == 'lsg' && dir == 'ulbshridungargarh') { return '585'; } else if (base == 'lsg' && dir == 'ulbsrikarnpur') { return '642'; } else if (base == 'lsg' && dir == 'ulbshrimadhopur') { return '739'; } else if (base == 'lsg' && dir == 'ulbshrivijaynagar') { return '648'; } else if (base == 'lsg' && dir == 'ulbsikri') { return '1101'; } else if (base == 'lsg' && dir == 'ulbsirmathura') { return '1103'; } else if (base == 'lsg' && dir == 'ulbsiwana') { return '1134'; } else if (base == 'lsg' && dir == 'ulbsojatcity') { return '688'; } else if (base == 'lsg' && dir == 'ulbsultanpur') { return '1141'; } else if (base == 'lsg' && dir == 'ulbsumerpur') { return '690'; } else if (base == 'lsg' && dir == 'ulbsurajgarh') { return '749'; } else if (base == 'lsg' && dir == 'ulbsuratgarh') { return '645'; } else if (base == 'lsg' && dir == 'ulbtakhatgarh') { return '683'; } else if (base == 'lsg' && dir == 'ulbtapokada') { return '1118'; } else if (base == 'lsg' && dir == 'ulbtaranagar') { return '606'; } else if (base == 'lsg' && dir == 'ulbthanagaji') { return '1122'; } else if (base == 'lsg' && dir == 'ulbtibbi') { return '1108'; } else if (base == 'lsg' && dir == 'ulbtijara') { return '725'; } else if (base == 'lsg' && dir == 'ulbtodabhim') { return '707'; } else if (base == 'lsg' && dir == 'ulbtodaraisingh') { return '580'; } else if (base == 'lsg' && dir == 'ulbujjchain') { return '1102'; } else if (base == 'lsg' && dir == 'ulbudaipurvati') { return '745'; } else if (base == 'lsg' && dir == 'ulbuniara') { return '582'; } else if (base == 'lsg' && dir == 'ulbvidhyavihar') { return '744'; } else if (base == 'lsg' && dir == 'ulbvijaynagar') { return '547'; } else if (base == 'lsg' && dir == 'ulbviratnagar') { return '698'; } else if (base == 'lsg' && dir == 'ulbweir') { return '718'; } // Nagar Parishad else if (base == 'lsg' && dir == 'ulbalwar') { return '916'; } else if (base == 'lsg' && dir == 'ulbbalotra') { return '936'; } else if (base == 'lsg' && dir == 'ulbbanswara') { return '928'; } else if (base == 'lsg' && dir == 'ulbbaran') { return '932'; } else if (base == 'lsg' && dir == 'ulbbarmer') { return '925'; } else if (base == 'lsg' && dir == 'ulbbeawar') { return '912'; } else if (base == 'lsg' && dir == 'ulbbhilwara') { return '914'; } else if (base == 'lsg' && dir == 'ulbbhiwadi') { return '935'; } else if (base == 'lsg' && dir == 'ulbbundi') { return '937'; } else if (base == 'lsg' && dir == 'ulbchittorgarh') { return '929'; } else if (base == 'lsg' && dir == 'ulbchuru') { return '915'; } else if (base == 'lsg' && dir == 'ulbdausa') { return '917'; } else if (base == 'lsg' && dir == 'ulbdholpur') { return '920'; } else if (base == 'lsg' && dir == 'ulbdungarpur') { return '1093'; } else if (base == 'lsg' && dir == 'ulbgangapurcity') { return '924'; } else if (base == 'lsg' && dir == 'ulbhanumangarh') { return '939'; } else if (base == 'lsg' && dir == 'ulbhindauncity') { return '922'; } else if (base == 'lsg' && dir == 'ulbjaisalmer') { return '940'; } else if (base == 'lsg' && dir == 'ulbjalore') { return '1092'; } else if (base == 'lsg' && dir == 'ulbjhalawar') { return '933'; } else if (base == 'lsg' && dir == 'ulbjhunjhunu') { return '918'; } else if (base == 'lsg' && dir == 'ulbkarauli') { return '921'; } else if (base == 'lsg' && dir == 'ulbkishangarh') { return '913'; } else if (base == 'lsg' && dir == 'ulbmakrana') { return '942'; } else if (base == 'lsg' && dir == 'ulbnagaur') { return '941'; } else if (base == 'lsg' && dir == 'ulbpali') { return '926'; } else if (base == 'lsg' && dir == 'ulbpratapgarh') { return '931'; } else if (base == 'lsg' && dir == 'ulbrajsamand') { return '930'; } else if (base == 'lsg' && dir == 'ulbsawaimadhopur') { return '923'; } else if (base == 'lsg' && dir == 'ulbsikar') { return '919'; } else if (base == 'lsg' && dir == 'ulbsirohi') { return '927'; } else if (base == 'lsg' && dir == 'ulbsriganganagar') { return '943'; } else if (base == 'lsg' && dir == 'ulbsujangarh') { return '938'; } else if (base == 'lsg' && dir == 'ulbtonk') { return '934'; } //UIT Rajasthan else if (base == 'lsg' && dir == 'uitabu') { return '282'; } else if (base == 'lsg' && dir == 'uitalwar') { return '364'; } else if (base == 'lsg' && dir == 'uitbarmer') { return '365'; } else if (base == 'lsg' && dir == 'uitbharatpur') { return '245'; } else if (base == 'lsg' && dir == 'uitbhilwara') { return '281'; } else if (base == 'lsg' && dir == 'uitbikaner') { return '367'; } else if (base == 'lsg' && dir == 'bda') { return '367'; } else if (base == 'lsg' && dir == 'uitchittorgarh') { return '368'; } else if (base == 'lsg' && dir == 'uitjaisalmer') { return '370'; } else if (base == 'lsg' && dir == 'uitkota') { return '280'; } else if (base == 'lsg' && dir == 'kda') { return '280'; } else if (base == 'lsg' && dir == 'uitpali') { return '369'; } else if (base == 'lsg' && dir == 'uitsawaimadhopur') { return '371'; } else if (base == 'lsg' && dir == 'uitsikar') { return '228'; } else if (base == 'lsg' && dir == 'uitsriganganagar') { return '279'; } else if (base == 'lsg' && dir == 'uitudaipur') { return '372'; } else if (base == 'lsg' && dir == 'rudsico') { return '233'; } else if (base == 'lsg' && dir == 'uitbalotra') { return '1883'; } else if (base == 'lsg' && dir == 'uitdausabandikui') { return '1881'; } //#endregion //#region industries else if (base == 'industries' && dir == 'bpe') { return '253'; } else if (base == 'industries' && dir == 'icom') { return '162'; } else if (base == 'industries' && dir == 'bip') { return '176'; } else if (base == 'industries' && dir == 'rsicl') { return '169'; } else if (base == 'industries' && dir == 'rsgl') { return '998'; } else if (base == 'industries' && dir == 'icd') { return '84'; } else if (base == 'industries' && dir == 'bida') { return '398'; } else if (base == 'industries' && dir == 'dmic') { return '170'; } else if (base == 'industries' && dir == 'msme') { return '1'; } else if (base == 'industries' && dir == 'bunkarsangh') { return '159'; } //else if (base == 'industries' && dir == 'rfc') { return '124'; } else if (base == 'industries' && dir == 'rajasthanfoundation') { return '274'; } else if (base == 'industries' && dir == 'rshdc') { return '181'; } else if (base == 'industries' && dir == 'kgub') { return '96'; } else if (base == 'industries' && dir == 'riico') { return '125'; } else if (base == 'industries' && dir == 'ruda') { return '164'; } else if (base == 'industries' && dir == 'rajsico') { return '169'; } //#endregion //#region sports else if (base == 'sports' && dir == 'sya') { return '145'; } //#endregion //#region energy else if (base == 'energy' && dir == 'energy') { return '62'; } else if (base == 'energy' && dir == 'avvnl') { return '9'; } else if (base == 'energy' && dir == 'eid') { return '258'; } else if (base == 'energy' && dir == 'rrvpn') { return '211'; } else if (base == 'energy' && dir == 'rrvun') { return '183'; } else if (base == 'energy' && dir == 'jdvvnl') { return '185'; } else if (base == 'energy' && dir == 'jvvnl') { return '188'; } else if (base == 'energy' && dir == 'rerc') { return '330'; } else if (base == 'energy' && dir == 'rrecl') { return '197'; } else if (base == 'energy' && dir == 'ruvks') { return '287'; } //#endregion //#region health else if (base == 'health' && dir == 'ayurved') { return '15'; } else if (base == 'health' && dir == 'ayush') { return '249'; } else if (base == 'health' && dir == 'hcv') { return '304'; } else if (base == 'health' && dir == 'rmb') { return '385'; } else if (base == 'health' && dir == 'mmmgac') { return '226'; } else if (base == 'health' && dir == 'rajswa') { return '101'; } else if (base == 'health' && dir == 'msu') { return '318'; } else if (base == 'health' && dir == 'nam') { return '320'; } else if (base == 'health' && dir == 'nhm') { return '236'; } else if (base == 'health' && dir == 'nioa') { return '321'; } else if (base == 'health' && dir == 'nrhm') { return '106'; } else if (base == 'health' && dir == 'rdpl') { return '329'; } else if (base == 'health' && dir == 'rhcb') { return '333'; } else if (base == 'health' && dir == 'rmc') { return '337'; } else if (base == 'health' && dir == 'rmscl') { return '277'; } else if (base == 'health' && dir == 'rsacs') { return '289'; } else if (base == 'health' && dir == 'rsndb') { return '973'; } else if (base == 'health' && dir == 'siohfw') { return '361'; } else if (base == 'health' && dir == 'unani') { return '222'; } else if (base == 'health' && dir == 'rsmpb') { return '1863'; } //#endregion //#region education else if (base == 'education' && dir == 'diets') { return '1153'; } else if (base == 'education' && dir == 'elementary') { return '189'; } else if (base == 'education' && dir == 'iaseajmer') { return '1264'; } else if (base == 'education' && dir == 'iasebikaner') { return '1263'; } else if (base == 'education' && dir == 'languagelibrary') { return '217'; } else if (base == 'education' && dir == 'literacyandcontinuingeducation') { return '312'; } else if (base == 'education' && dir == 'mdm') { return '103'; } else if (base == 'education' && dir == 'rcse') { return '375'; } else if (base == 'education' && dir == 'rskb') { return '499'; } else if (base == 'education' && dir == 'rstb') { return '404'; } else if (base == 'education' && dir == 'sanskrit') { return '129'; } else if (base == 'education' && dir == 'secondary') { return '146'; } else if (base == 'education' && dir == 'ssiert') { return '1859'; } //#endregion //#region urban else if (base == 'urban' && dir == 'udh') { return '173'; } else if (base == 'urban' && dir == 'townplanning') { return '384'; } //#endregion //#region artandculture else if (base == 'artandculture' && dir == 'artandculture') { return '13'; } else if (base == 'artandculture' && dir == 'makaapritonk') { return '269'; } else if (base == 'artandculture' && dir == 'jkk') { return '309'; } else if (base == 'artandculture' && dir == 'rori') { return '340'; } else if (base == 'artandculture' && dir == 'adma') { return '1154'; } else if (base == 'artandculture' && dir == 'rbssabikaner') { return '1155'; } else if (base == 'artandculture' && dir == 'rha') { return '1157'; } //initially it was rhppa else if (base == 'artandculture' && dir == 'blkm') { return '1158'; } else if (base == 'artandculture' && dir == 'rsaudaipur') { return '1159'; } else if (base == 'artandculture' && dir == 'rsnajodhpur') { return '1160'; } else if (base == 'artandculture' && dir == 'rsindhiacademy') { return '1161'; } else if (base == 'artandculture' && dir == 'rua') { return '1162'; } else if (base == 'artandculture' && dir == 'rlka') { return '1163'; } else if (base == 'artandculture' && dir == 'ravindramanchjaipur') { return '1164'; } else if (base == 'artandculture' && dir == 'jpkathakkendra') { return '1165'; } else if (base == 'artandculture' && dir == 'rsanskritacademy') { return '1166'; } else if (base == 'artandculture' && dir == 'rbba') { return '1167'; } //#endregion // #region for ds env else if (base == 'demooo' && dir == 'avvnl') { return '9'; } //#endregion } return ''; } GetOfficesFor(departmentCode, districtCode) { let params = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_3__[/* Dictionary */ "a"](); params.Add("deptCode", departmentCode); params.Add("distCode", districtCode); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_4__[/* AppSetting */ "a"].GetOfficesByDepartmentAndDistrictUrl, params); } isDateExpire(date) { if (!date) return false; let curDate = new Date(); date = new Date(date); curDate.setHours(0, 0, 0, 0); date.setHours(0, 0, 0, 0); return date < curDate; } groupBy(list, keyGetter) { const map = new Map(); list.forEach((item) => { const key = keyGetter(item); const collection = map.get(key); if (!collection) { map.set(key, [item]); } else { collection.push(item); } }); return map; } getTemplateName() { let _tempName = localStorage.getItem("TemplateClass"); if (_tempName) { return _tempName; } return ''; } GetGoogleMapUrl(lat, long) { return _Enum_url_enum__WEBPACK_IMPORTED_MODULE_2__[/* UrlEnum */ "a"].GoogleMapUrl.replace('{lattitude}', lat).replace('{longitude}', long); } GetDptSectionBydptCode(deptCode) { let params = new _Model_dictionary__WEBPACK_IMPORTED_MODULE_3__[/* Dictionary */ "a"](); params.Add("deptCode", deptCode); return this._baseService.get(_Model_app_setting__WEBPACK_IMPORTED_MODULE_4__[/* AppSetting */ "a"].GetDptSectionBydptCode, params); } // GetRedirectToScreen(redirectTo: string) { // let _redirectTo = 'list'; // if (redirectTo) { // _redirectTo = redirectTo.split('-').shift(); // } // return _redirectTo || 'list'; // } alertMsg(titleTxt, msgTxt, type = "info") { return new Promise((resolve) => { sweetalert2__WEBPACK_IMPORTED_MODULE_5___default.a.fire({ icon: type, title: titleTxt, text: msgTxt, timer: 5000, customClass: { container: 'my-swal' } }).then(() => resolve()); }); } printHTMLContent(id, printHeader = "") { var divToPrint = document.getElementById(id).innerHTML; sessionStorage.setItem("PrintContentPageTitle", printHeader); sessionStorage.setItem("PrintContent", divToPrint); const url = window.location.href.replace(this.router.url, '/print'); window.open(url, '_blank'); } IsCodeOfConduct() { var _a; return _a = JSON.parse(localStorage.getItem('IsCodeOfConduct')), (_a !== null && _a !== void 0 ? _a : true); } WebSiteView() { var width = window.innerWidth; if (width <= 768) { return 'Mobile'; } else { return 'Desktop'; } } onImageError(event, fallbackSrc) { event.target.src = fallbackSrc; } } CommonService.ɵfac = function CommonService_Factory(t) { return new (t || CommonService)(_angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵinject */ "ec"](_base_service__WEBPACK_IMPORTED_MODULE_7__[/* BaseService */ "a"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵinject */ "ec"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__[/* TranslateService */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵinject */ "ec"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_9__[/* Title */ "d"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵinject */ "ec"](_angular_common__WEBPACK_IMPORTED_MODULE_1__[/* Location */ "i"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵinject */ "ec"](_angular_router__WEBPACK_IMPORTED_MODULE_10__[/* Router */ "b"])); }; CommonService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_6__[/* ɵɵdefineInjectable */ "Rb"]({ token: CommonService, factory: CommonService.ɵfac, providedIn: "root" }); return CommonService; })(); /***/ }), /***/ "Lexf": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* unused harmony export OrderViewModel */ /* unused harmony export OrderAttachmentViewModel */ /* unused harmony export OrderTypeGroupListViewModel */ /* unused harmony export OrderPublicPortal */ /* unused harmony export AttachmentList */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return OrderEntryfrontModel; }); /* unused harmony export OrderEntryModel */ /* unused harmony export OrderAttachmentModel */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return DocumentUrlModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return OrderRelatedToModel; }); /* unused harmony export OrderRelatedToModelResult */ /* unused harmony export OrderWithRelatedToViewModel */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return OrderRelatedToViewModelGroupByModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return OrderChildParentFilterModel; }); /* unused harmony export OrderDetailMasterViewModel */ /* unused harmony export LookupModel */ /* unused harmony export Front_OrderPreviousURLModel */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DepartmentReportFilterWiseFilterModel; }); /* harmony import */ var _common_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("j672"); class OrderViewModel { } class OrderAttachmentViewModel { } class OrderTypeGroupListViewModel { } class OrderPublicPortal { constructor() { this.AttachmentList = []; } } class AttachmentList { } class OrderEntryfrontModel { constructor() { //SectionCode: number | string; this.AttachmentList = []; this.IsLatest = -1; this.DeptSectionCode = '0'; this.IndexModel = new _common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.Id = 0; this.Type = "0"; this.Title = ""; this.IndividualBeneficiaryScheme = ""; this.OrderNo = ""; this.Date = ""; this.BeneficiaryCategory = 0; this.AdmDepartmentCode = 0; this.DepartmentCode = 0; this.OfficeCode = 0; this.SectorIds = 0; this.Search = ""; this.FromDate = ""; this.ToDate = ""; this.SubTypeCode = 0; this.EntryFromDate = ""; this.EntryToDate = ""; this.Status = 1; this.IsNotJankalyan = true; this.LookupCode = 0; this.SchemeCode = 0; this.DistrictCode = 0; this.DesignationCode = 0; this.OfficeCatCode = "0"; //this.SectionCode = "0"; this.IsNotJankalyan = -1; this.IsImagesRequired = false; } } class OrderEntryModel { constructor() { this.DepartmentTitleHindi = ''; this.RelatedToOrderParameterList = []; this.AttachmentList = []; this.MediaUrlList = []; this.RelatedOrderGroupViewModel = []; } } class OrderAttachmentModel { } class DocumentUrlModel { constructor() { this.AttachmentList = []; } } class OrderRelatedToModel { constructor() { this.Id = 0; this.ModuleId = ""; this.ModuleName = ""; this.DepartmentId = ""; this.DepartmentName = ""; this.YearValue = ""; this.YearText = ""; this.RelatedToResult = new OrderRelatedToModelResult(); } } class OrderRelatedToModelResult { constructor() { this.pm_projecthdrid = ""; this.modulename = ""; this.prj_year = ""; this.prj_dept = ""; this.prj_ndept = ""; this.parano = ""; this.filenumber = ""; this.prj_description = ""; } } class OrderWithRelatedToViewModel { constructor() { this.RelatedToData = []; } } class OrderRelatedToViewModelGroupByModule { constructor() { this.Item = []; this.Item = []; this.ModuleName = ""; } } class OrderChildParentFilterModel { constructor() { this.Id = 0; this.IndexModel = new _common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); } } class OrderDetailMasterViewModel { } class LookupModel { } // export class OrderPreviousUrlModel { // Id: number; // DepartmentCode: number | string; // DistrictCode: number | string; // OfficeCode: number | string; // TypeCode: number | string; // SubTypeCode: number | string; // LookupCode: number | string; // PreviousUrl: string; // DepartmentTitle: string; // DistrictTitle: string; // OfficeName: string; // TypeName: string; // SubTypeName: string; // LookupName: string; // } class Front_OrderPreviousURLModel { constructor() { this.DepartmentPageCode = 0; } } class DepartmentReportFilterWiseFilterModel { } /***/ }), /***/ "Lhse": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* unused harmony export getSymbolIterator */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return iterator; }); /* unused harmony export $$iterator */ function getSymbolIterator() { if (typeof Symbol !== 'function' || !Symbol.iterator) { return '@@iterator'; } return Symbol.iterator; } const iterator = /*@__PURE__*/ getSymbolIterator(); const $$iterator = iterator; //# sourceMappingURL=iterator.js.map /***/ }), /***/ "MLVi": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BaseService; }); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("tk/3"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("lJxs"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("fXoL"); let BaseService = /*@__PURE__*/ (() => { class BaseService { constructor(httpclient) { this.httpclient = httpclient; this.headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__[/* HttpHeaders */ "d"]({ 'Content-Type': 'application/json' }); } get(endPoint, params) { let httpParams; if (params) { httpParams = this.buildParams(params); } return this.httpclient.get(endPoint, { params: httpParams }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[/* map */ "a"])((response) => { return JSON.parse(JSON.stringify(response)); })); } post(endPoint, requestObject) { return this.httpclient.post(endPoint, requestObject, { headers: this.headers }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[/* map */ "a"])((response) => { return JSON.parse(JSON.stringify(response)); })); } postWithPrams(endPoint, requestObject, params) { let httpParams; if (params) { httpParams = this.buildParams(params); } return this.httpclient.post(endPoint, requestObject, { params: httpParams }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[/* map */ "a"])((response) => { return JSON.parse(JSON.stringify(response)); })); } put(endPoint, requestObject) { return this.httpclient.put(endPoint, requestObject).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[/* map */ "a"])(res => JSON.parse(JSON.stringify(res)))); } Delete(endPoint, params) { let httpParams; if (params) { httpParams = this.buildParams(params); } return this.httpclient.delete(endPoint, httpParams).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[/* map */ "a"])(res => JSON.parse(JSON.stringify(res)))); } /** * buildParams - Converts from Dictionary to HttpParams */ buildParams(params) { let httpParams = new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__[/* HttpParams */ "e"](); if (params) { const keys = params.Keys(); keys.forEach(key => { httpParams = httpParams.append(key, params.Item(key)); }); } return httpParams; } } BaseService.ɵfac = function BaseService_Factory(t) { return new (t || BaseService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵinject */ "ec"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__[/* HttpClient */ "b"])); }; BaseService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__[/* ɵɵdefineInjectable */ "Rb"]({ token: BaseService, factory: BaseService.ɵfac }); return BaseService; })(); /***/ }), /***/ "MZWM": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return DepartmentProfileViewModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return DepartmentProfileFilterModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DepartmentContactFilterModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return DepartmentContactViewModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return UserDetailFilterModel; }); /* unused harmony export UserViewModel */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return PrabhariMantriDetailModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return Front_DepartmentPageModel; }); /* harmony import */ var _common_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("j672"); class DepartmentProfileViewModel { } class DepartmentProfileFilterModel { constructor() { this.IndexModel = new _common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.DepartmentCode = 0; this.OfficeCode = 0; this.EntryTypeCode = 0; this.JankalyanCategoryCode = 0; this.LookupCode = 0; } } class DepartmentContactFilterModel { constructor() { this.IndexModel = new _common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.DepartmentCode = 0; this.DesignationCode = 0; } } class DepartmentContactViewModel { } class UserDetailFilterModel extends _common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"] { constructor() { super(); this.DepartmentCode = 0; this.UserType = ''; } } class UserViewModel { } class PrabhariMantriDetailModel { } class Front_DepartmentPageModel { } /***/ }), /***/ "MkmW": /***/ (function(module, exports, __webpack_require__) { "use strict"; /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); function hostReportError(err) { setTimeout(function () { throw err; }, 0); } exports.hostReportError = hostReportError; /***/ }), /***/ "NJ4a": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hostReportError; }); function hostReportError(err) { setTimeout(() => { throw err; }, 0); } //# sourceMappingURL=hostReportError.js.map /***/ }), /***/ "NTcF": /***/ (function(module, exports, __webpack_require__) { "use strict"; var __extends = (this && this.__extends) || /*@__PURE__*/ (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); /*@__PURE__*/ Object.defineProperty(exports, "__esModule", { value: true }); var Scheduler_1 = /*@__PURE__*/ __webpack_require__("ffpz"); var AsyncScheduler = /*@__PURE__*/ (function (_super) { __extends(AsyncScheduler, _super); function AsyncScheduler(SchedulerAction, now) { if (now === void 0) { now = Scheduler_1.Scheduler.now; } var _this = _super.call(this, SchedulerAction, function () { if (AsyncScheduler.delegate && AsyncScheduler.delegate !== _this) { return AsyncScheduler.delegate.now(); } else { return now(); } }) || this; _this.actions = []; _this.active = false; _this.scheduled = undefined; return _this; } AsyncScheduler.prototype.schedule = function (work, delay, state) { if (delay === void 0) { delay = 0; } if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) { return AsyncScheduler.delegate.schedule(work, delay, state); } else { return _super.prototype.schedule.call(this, work, delay, state); } }; AsyncScheduler.prototype.flush = function (action) { var actions = this.actions; if (this.active) { actions.push(action); return; } var error; this.active = true; do { if (error = action.execute(action.state, action.delay)) { break; } } while (action = actions.shift()); this.active = false; if (error) { while (action = actions.shift()) { action.unsubscribe(); } throw error; } }; return AsyncScheduler; }(Scheduler_1.Scheduler)); exports.AsyncScheduler = AsyncScheduler; /***/ }), /***/ "NXyV": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return defer; }); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("HDdC"); /* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Cfvw"); /* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("EY2u"); function defer(observableFactory) { return new _Observable__WEBPACK_IMPORTED_MODULE_0__[/* Observable */ "a"](subscriber => { let input; try { input = observableFactory(); } catch (err) { subscriber.error(err); return undefined; } const source = input ? Object(_from__WEBPACK_IMPORTED_MODULE_1__[/* from */ "a"])(input) : Object(_empty__WEBPACK_IMPORTED_MODULE_2__[/* empty */ "b"])(); return source.subscribe(subscriber); }); } //# sourceMappingURL=defer.js.map /***/ }), /***/ "ODh8": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* unused harmony export ImportantDecisionListModel */ /* unused harmony export SubCategoryGroupImportantDecisionListViewModel */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ImportantDecisionSearchModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ImportantDecisionDetailModel; }); /* harmony import */ var _common_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("j672"); class ImportantDecisionListModel { } class SubCategoryGroupImportantDecisionListViewModel { } class ImportantDecisionSearchModel extends _common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"] { constructor() { super(); this.AdmDepartmentCode = 0; this.DepartmentCode = 0; this.CategoryCode = 0; this.SubcategoryCode = 0; this.Status = 1; // this.PageSize = 10; // this.IsPostBack = false; // this.OrderByAsc = 0; // this.Search = null; // this.OrderBy = null; // this.Page = 1; } } class ImportantDecisionDetailModel { } /***/ }), /***/ "PSD3": /***/ (function(module, exports, __webpack_require__) { /*! * sweetalert2 v11.26.18 * Released under the MIT License. */ (function (global, factory) { true ? module.exports = factory() : undefined; })(this, (function () { 'use strict'; function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } function _classPrivateFieldGet2(s, a) { return s.get(_assertClassBrand(s, a)); } function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); } function _classPrivateFieldSet2(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; } const RESTORE_FOCUS_TIMEOUT = 100; /** @type {GlobalState} */ const globalState = {}; const focusPreviousActiveElement = () => { if (globalState.previousActiveElement instanceof HTMLElement) { globalState.previousActiveElement.focus(); globalState.previousActiveElement = null; } else if (document.body) { document.body.focus(); } }; /** * Restore previous active (focused) element * * @param {boolean} returnFocus * @returns {Promise} */ const restoreActiveElement = returnFocus => { return new Promise(resolve => { if (!returnFocus) { return resolve(); } const x = window.scrollX; const y = window.scrollY; globalState.restoreFocusTimeout = setTimeout(() => { focusPreviousActiveElement(); resolve(); }, RESTORE_FOCUS_TIMEOUT); // issues/900 window.scrollTo(x, y); }); }; const swalPrefix = 'swal2-'; /** * @typedef {Record} SwalClasses */ /** * @typedef {'success' | 'warning' | 'info' | 'question' | 'error'} SwalIcon * @typedef {Record} SwalIcons */ /** @type {SwalClass[]} */ const classNames = ['container', 'shown', 'height-auto', 'iosfix', 'popup', 'modal', 'no-backdrop', 'no-transition', 'toast', 'toast-shown', 'show', 'hide', 'close', 'title', 'html-container', 'actions', 'confirm', 'deny', 'cancel', 'footer', 'icon', 'icon-content', 'image', 'input', 'file', 'range', 'select', 'radio', 'checkbox', 'label', 'textarea', 'inputerror', 'input-label', 'validation-message', 'progress-steps', 'active-progress-step', 'progress-step', 'progress-step-line', 'loader', 'loading', 'styled', 'top', 'top-start', 'top-end', 'top-left', 'top-right', 'center', 'center-start', 'center-end', 'center-left', 'center-right', 'bottom', 'bottom-start', 'bottom-end', 'bottom-left', 'bottom-right', 'grow-row', 'grow-column', 'grow-fullscreen', 'rtl', 'timer-progress-bar', 'timer-progress-bar-container', 'scrollbar-measure', 'icon-success', 'icon-warning', 'icon-info', 'icon-question', 'icon-error', 'draggable', 'dragging']; const swalClasses = classNames.reduce((acc, className) => { acc[className] = swalPrefix + className; return acc; }, /** @type {SwalClasses} */{}); /** @type {SwalIcon[]} */ const icons = ['success', 'warning', 'info', 'question', 'error']; const iconTypes = icons.reduce((acc, icon) => { acc[icon] = swalPrefix + icon; return acc; }, /** @type {SwalIcons} */{}); const consolePrefix = 'SweetAlert2:'; /** * Capitalize the first letter of a string * * @param {string} str * @returns {string} */ const capitalizeFirstLetter = str => str.charAt(0).toUpperCase() + str.slice(1); /** * Standardize console warnings * * @param {string | string[]} message */ const warn = message => { console.warn(`${consolePrefix} ${typeof message === 'object' ? message.join(' ') : message}`); }; /** * Standardize console errors * * @param {string} message */ const error = message => { console.error(`${consolePrefix} ${message}`); }; /** * Private global state for `warnOnce` * * @type {string[]} * @private */ const previousWarnOnceMessages = []; /** * Show a console warning, but only if it hasn't already been shown * * @param {string} message */ const warnOnce = message => { if (!previousWarnOnceMessages.includes(message)) { previousWarnOnceMessages.push(message); warn(message); } }; /** * Show a one-time console warning about deprecated params/methods * * @param {string} deprecatedParam * @param {string?} useInstead */ const warnAboutDeprecation = (deprecatedParam, useInstead = null) => { warnOnce(`"${deprecatedParam}" is deprecated and will be removed in the next major release.${useInstead ? ` Use "${useInstead}" instead.` : ''}`); }; /** * If `arg` is a function, call it (with no arguments or context) and return the result. * Otherwise, just pass the value through * * @param {(() => *) | *} arg * @returns {*} */ const callIfFunction = arg => typeof arg === 'function' ? arg() : arg; /** * @param {*} arg * @returns {boolean} */ const hasToPromiseFn = arg => arg && typeof arg.toPromise === 'function'; /** * @param {*} arg * @returns {Promise<*>} */ const asPromise = arg => hasToPromiseFn(arg) ? arg.toPromise() : Promise.resolve(arg); /** * @param {*} arg * @returns {boolean} */ const isPromise = arg => arg && Promise.resolve(arg) === arg; /** * Gets the popup container which contains the backdrop and the popup itself. * * @returns {HTMLElement | null} */ const getContainer = () => document.body.querySelector(`.${swalClasses.container}`); /** * @param {string} selectorString * @returns {HTMLElement | null} */ const elementBySelector = selectorString => { const container = getContainer(); return container ? container.querySelector(selectorString) : null; }; /** * @param {string} className * @returns {HTMLElement | null} */ const elementByClass = className => { return elementBySelector(`.${className}`); }; /** * @returns {HTMLElement | null} */ const getPopup = () => elementByClass(swalClasses.popup); /** * @returns {HTMLElement | null} */ const getIcon = () => elementByClass(swalClasses.icon); /** * @returns {HTMLElement | null} */ const getIconContent = () => elementByClass(swalClasses['icon-content']); /** * @returns {HTMLElement | null} */ const getTitle = () => elementByClass(swalClasses.title); /** * @returns {HTMLElement | null} */ const getHtmlContainer = () => elementByClass(swalClasses['html-container']); /** * @returns {HTMLElement | null} */ const getImage = () => elementByClass(swalClasses.image); /** * @returns {HTMLElement | null} */ const getProgressSteps = () => elementByClass(swalClasses['progress-steps']); /** * @returns {HTMLElement | null} */ const getValidationMessage = () => elementByClass(swalClasses['validation-message']); /** * @returns {HTMLButtonElement | null} */ const getConfirmButton = () => (/** @type {HTMLButtonElement} */elementBySelector(`.${swalClasses.actions} .${swalClasses.confirm}`)); /** * @returns {HTMLButtonElement | null} */ const getCancelButton = () => (/** @type {HTMLButtonElement} */elementBySelector(`.${swalClasses.actions} .${swalClasses.cancel}`)); /** * @returns {HTMLButtonElement | null} */ const getDenyButton = () => (/** @type {HTMLButtonElement} */elementBySelector(`.${swalClasses.actions} .${swalClasses.deny}`)); /** * @returns {HTMLElement | null} */ const getInputLabel = () => elementByClass(swalClasses['input-label']); /** * @returns {HTMLElement | null} */ const getLoader = () => elementBySelector(`.${swalClasses.loader}`); /** * @returns {HTMLElement | null} */ const getActions = () => elementByClass(swalClasses.actions); /** * @returns {HTMLElement | null} */ const getFooter = () => elementByClass(swalClasses.footer); /** * @returns {HTMLElement | null} */ const getTimerProgressBar = () => elementByClass(swalClasses['timer-progress-bar']); /** * @returns {HTMLElement | null} */ const getCloseButton = () => elementByClass(swalClasses.close); // https://github.com/jkup/focusable/blob/master/index.js const focusable = ` a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary `; /** * @returns {HTMLElement[]} */ const getFocusableElements = () => { const popup = getPopup(); if (!popup) { return []; } /** @type {NodeListOf} */ const focusableElementsWithTabindex = popup.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'); const focusableElementsWithTabindexSorted = Array.from(focusableElementsWithTabindex) // sort according to tabindex .sort((a, b) => { const tabindexA = parseInt(a.getAttribute('tabindex') || '0'); const tabindexB = parseInt(b.getAttribute('tabindex') || '0'); if (tabindexA > tabindexB) { return 1; } else if (tabindexA < tabindexB) { return -1; } return 0; }); /** @type {NodeListOf} */ const otherFocusableElements = popup.querySelectorAll(focusable); const otherFocusableElementsFiltered = Array.from(otherFocusableElements).filter(el => el.getAttribute('tabindex') !== '-1'); return [...new Set(focusableElementsWithTabindexSorted.concat(otherFocusableElementsFiltered))].filter(el => isVisible$1(el)); }; /** * @returns {boolean} */ const isModal = () => { return hasClass(document.body, swalClasses.shown) && !hasClass(document.body, swalClasses['toast-shown']) && !hasClass(document.body, swalClasses['no-backdrop']); }; /** * @returns {boolean} */ const isToast = () => { const popup = getPopup(); if (!popup) { return false; } return hasClass(popup, swalClasses.toast); }; /** * @returns {boolean} */ const isLoading = () => { const popup = getPopup(); if (!popup) { return false; } return popup.hasAttribute('data-loading'); }; /** * Securely set innerHTML of an element * https://github.com/sweetalert2/sweetalert2/issues/1926 * * @param {HTMLElement} elem * @param {string} html */ const setInnerHtml = (elem, html) => { elem.textContent = ''; if (html) { const parser = new DOMParser(); const parsed = parser.parseFromString(html, `text/html`); const head = parsed.querySelector('head'); if (head) { Array.from(head.childNodes).forEach(child => { elem.appendChild(child); }); } const body = parsed.querySelector('body'); if (body) { Array.from(body.childNodes).forEach(child => { if (child instanceof HTMLVideoElement || child instanceof HTMLAudioElement) { elem.appendChild(child.cloneNode(true)); // https://github.com/sweetalert2/sweetalert2/issues/2507 } else { elem.appendChild(child); } }); } } }; /** * @param {HTMLElement} elem * @param {string} className * @returns {boolean} */ const hasClass = (elem, className) => { if (!className) { return false; } const classList = className.split(/\s+/); for (let i = 0; i < classList.length; i++) { if (!elem.classList.contains(classList[i])) { return false; } } return true; }; /** * @param {HTMLElement} elem * @param {SweetAlertOptions} params */ const removeCustomClasses = (elem, params) => { Array.from(elem.classList).forEach(className => { if (!Object.values(swalClasses).includes(className) && !Object.values(iconTypes).includes(className) && !Object.values(params.showClass || {}).includes(className)) { elem.classList.remove(className); } }); }; /** * @param {HTMLElement} elem * @param {SweetAlertOptions} params * @param {string} className */ const applyCustomClass = (elem, params, className) => { removeCustomClasses(elem, params); if (!params.customClass) { return; } const customClass = params.customClass[(/** @type {keyof SweetAlertCustomClass} */className)]; if (!customClass) { return; } if (typeof customClass !== 'string' && !customClass.forEach) { warn(`Invalid type of customClass.${className}! Expected string or iterable object, got "${typeof customClass}"`); return; } addClass(elem, customClass); }; /** * @param {HTMLElement} popup * @param {import('./renderers/renderInput').InputClass | SweetAlertInput} inputClass * @returns {HTMLInputElement | null} */ const getInput$1 = (popup, inputClass) => { if (!inputClass) { return null; } switch (inputClass) { case 'select': case 'textarea': case 'file': return popup.querySelector(`.${swalClasses.popup} > .${swalClasses[inputClass]}`); case 'checkbox': return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.checkbox} input`); case 'radio': return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.radio} input:checked`) || popup.querySelector(`.${swalClasses.popup} > .${swalClasses.radio} input:first-child`); case 'range': return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.range} input`); default: return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.input}`); } }; /** * @param {HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement} input */ const focusInput = input => { input.focus(); // place cursor at end of text in text input if (input.type !== 'file') { // http://stackoverflow.com/a/2345915 const val = input.value; input.value = ''; input.value = val; } }; /** * @param {HTMLElement | HTMLElement[] | null} target * @param {string | string[] | readonly string[] | undefined} classList * @param {boolean} condition */ const toggleClass = (target, classList, condition) => { if (!target || !classList) { return; } if (typeof classList === 'string') { classList = classList.split(/\s+/).filter(Boolean); } classList.forEach(className => { if (Array.isArray(target)) { target.forEach(elem => { if (condition) { elem.classList.add(className); } else { elem.classList.remove(className); } }); } else { if (condition) { target.classList.add(className); } else { target.classList.remove(className); } } }); }; /** * @param {HTMLElement | HTMLElement[] | null} target * @param {string | string[] | readonly string[] | undefined} classList */ const addClass = (target, classList) => { toggleClass(target, classList, true); }; /** * @param {HTMLElement | HTMLElement[] | null} target * @param {string | string[] | readonly string[] | undefined} classList */ const removeClass = (target, classList) => { toggleClass(target, classList, false); }; /** * Get direct child of an element by class name * * @param {HTMLElement} elem * @param {string} className * @returns {HTMLElement | undefined} */ const getDirectChildByClass = (elem, className) => { const children = Array.from(elem.children); for (let i = 0; i < children.length; i++) { const child = children[i]; if (child instanceof HTMLElement && hasClass(child, className)) { return child; } } }; /** * @param {HTMLElement} elem * @param {string} property * @param {string | number | null | undefined} value */ const applyNumericalStyle = (elem, property, value) => { if (value === `${parseInt(`${value}`)}`) { value = parseInt(value); } if (value || parseInt(`${value}`) === 0) { elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : (/** @type {string} */value)); } else { elem.style.removeProperty(property); } }; /** * @param {HTMLElement | null} elem * @param {string} display */ const show = (elem, display = 'flex') => { if (!elem) { return; } elem.style.display = display; }; /** * @param {HTMLElement | null} elem */ const hide = elem => { if (!elem) { return; } elem.style.display = 'none'; }; /** * @param {HTMLElement | null} elem * @param {string} display */ const showWhenInnerHtmlPresent = (elem, display = 'block') => { if (!elem) { return; } new MutationObserver(() => { toggle(elem, elem.innerHTML, display); }).observe(elem, { childList: true, subtree: true }); }; /** * @param {HTMLElement} parent * @param {string} selector * @param {string} property * @param {string} value */ const setStyle = (parent, selector, property, value) => { /** @type {HTMLElement | null} */ const el = parent.querySelector(selector); if (el) { el.style.setProperty(property, value); } }; /** * @param {HTMLElement} elem * @param {boolean | string | null | undefined} condition * @param {string} display */ const toggle = (elem, condition, display = 'flex') => { if (condition) { show(elem, display); } else { hide(elem); } }; /** * borrowed from jquery $(elem).is(':visible') implementation * * @param {HTMLElement | null} elem * @returns {boolean} */ const isVisible$1 = elem => Boolean(elem && (elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length)); /** * @returns {boolean} */ const allButtonsAreHidden = () => !isVisible$1(getConfirmButton()) && !isVisible$1(getDenyButton()) && !isVisible$1(getCancelButton()); /** * @param {HTMLElement} elem * @returns {boolean} */ const isScrollable = elem => Boolean(elem.scrollHeight > elem.clientHeight); /** * @param {HTMLElement} element * @param {HTMLElement} stopElement * @returns {boolean} */ const selfOrParentIsScrollable = (element, stopElement) => { let parent = /** @type {HTMLElement | null} */element; while (parent && parent !== stopElement) { if (isScrollable(parent)) { return true; } parent = parent.parentElement; } return false; }; /** * borrowed from https://stackoverflow.com/a/46352119 * * @param {HTMLElement} elem * @returns {boolean} */ const hasCssAnimation = elem => { const style = window.getComputedStyle(elem); const animDuration = parseFloat(style.getPropertyValue('animation-duration') || '0'); const transDuration = parseFloat(style.getPropertyValue('transition-duration') || '0'); return animDuration > 0 || transDuration > 0; }; /** * @param {number} timer * @param {boolean} reset */ const animateTimerProgressBar = (timer, reset = false) => { const timerProgressBar = getTimerProgressBar(); if (!timerProgressBar) { return; } if (isVisible$1(timerProgressBar)) { if (reset) { timerProgressBar.style.transition = 'none'; timerProgressBar.style.width = '100%'; } setTimeout(() => { timerProgressBar.style.transition = `width ${timer / 1000}s linear`; timerProgressBar.style.width = '0%'; }, 10); } }; const stopTimerProgressBar = () => { const timerProgressBar = getTimerProgressBar(); if (!timerProgressBar) { return; } const timerProgressBarWidth = parseInt(window.getComputedStyle(timerProgressBar).width); timerProgressBar.style.removeProperty('transition'); timerProgressBar.style.width = '100%'; const timerProgressBarFullWidth = parseInt(window.getComputedStyle(timerProgressBar).width); const timerProgressBarPercent = timerProgressBarWidth / timerProgressBarFullWidth * 100; timerProgressBar.style.width = `${timerProgressBarPercent}%`; }; /** * Detect Node env * * @returns {boolean} */ const isNodeEnv = () => typeof window === 'undefined' || typeof document === 'undefined'; const sweetHTML = `

    `.replace(/(^|\n)\s*/g, ''); /** * @returns {boolean} */ const resetOldContainer = () => { const oldContainer = getContainer(); if (!oldContainer) { return false; } oldContainer.remove(); removeClass([document.documentElement, document.body], [swalClasses['no-backdrop'], swalClasses['toast-shown'], // @ts-ignore: 'has-column' is not defined in swalClasses but may be set dynamically swalClasses['has-column']]); return true; }; const resetValidationMessage$1 = () => { if (globalState.currentInstance) { globalState.currentInstance.resetValidationMessage(); } }; const addInputChangeListeners = () => { const popup = getPopup(); if (!popup) { return; } const input = getDirectChildByClass(popup, swalClasses.input); const file = getDirectChildByClass(popup, swalClasses.file); /** @type {HTMLInputElement | null} */ const range = popup.querySelector(`.${swalClasses.range} input`); /** @type {HTMLOutputElement | null} */ const rangeOutput = popup.querySelector(`.${swalClasses.range} output`); const select = getDirectChildByClass(popup, swalClasses.select); /** @type {HTMLInputElement | null} */ const checkbox = popup.querySelector(`.${swalClasses.checkbox} input`); const textarea = getDirectChildByClass(popup, swalClasses.textarea); if (input) { input.oninput = resetValidationMessage$1; } if (file) { file.onchange = resetValidationMessage$1; } if (select) { select.onchange = resetValidationMessage$1; } if (checkbox) { checkbox.onchange = resetValidationMessage$1; } if (textarea) { textarea.oninput = resetValidationMessage$1; } if (range && rangeOutput) { range.oninput = () => { resetValidationMessage$1(); rangeOutput.value = range.value; }; range.onchange = () => { resetValidationMessage$1(); rangeOutput.value = range.value; }; } }; /** * @param {string | HTMLElement} target * @returns {HTMLElement} */ const getTarget = target => { if (typeof target === 'string') { const element = document.querySelector(target); if (!element) { throw new Error(`Target element "${target}" not found`); } return /** @type {HTMLElement} */element; } return target; }; /** * @param {SweetAlertOptions} params */ const setupAccessibility = params => { const popup = getPopup(); if (!popup) { return; } popup.setAttribute('role', params.toast ? 'alert' : 'dialog'); popup.setAttribute('aria-live', params.toast ? 'polite' : 'assertive'); if (!params.toast) { popup.setAttribute('aria-modal', 'true'); } }; /** * @param {HTMLElement} targetElement */ const setupRTL = targetElement => { if (window.getComputedStyle(targetElement).direction === 'rtl') { addClass(getContainer(), swalClasses.rtl); globalState.isRTL = true; } }; /** * Add modal + backdrop to DOM * * @param {SweetAlertOptions} params */ const init = params => { // Clean up the old popup container if it exists const oldContainerExisted = resetOldContainer(); if (isNodeEnv()) { error('SweetAlert2 requires document to initialize'); return; } const container = document.createElement('div'); container.className = swalClasses.container; if (oldContainerExisted) { addClass(container, swalClasses['no-transition']); } setInnerHtml(container, sweetHTML); container.dataset['swal2Theme'] = params.theme; const targetElement = getTarget(params.target || 'body'); targetElement.appendChild(container); if (params.topLayer) { container.setAttribute('popover', ''); container.showPopover(); } setupAccessibility(params); setupRTL(targetElement); addInputChangeListeners(); }; /** * @param {HTMLElement | object | string} param * @param {HTMLElement} target */ const parseHtmlToContainer = (param, target) => { // DOM element if (param instanceof HTMLElement) { target.appendChild(param); } // Object else if (typeof param === 'object') { handleObject(param, target); } // Plain string else if (param) { setInnerHtml(target, param); } }; /** * @param {object} param * @param {HTMLElement} target */ const handleObject = (param, target) => { // JQuery element(s) if ('jquery' in param) { handleJqueryElem(target, param); } // For other objects use their string representation else { setInnerHtml(target, param.toString()); } }; /** * @param {HTMLElement} target * @param {any} elem */ const handleJqueryElem = (target, elem) => { target.textContent = ''; if (0 in elem) { for (let i = 0; i in elem; i++) { target.appendChild(elem[i].cloneNode(true)); } } else { target.appendChild(elem.cloneNode(true)); } }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderActions = (instance, params) => { const actions = getActions(); const loader = getLoader(); if (!actions || !loader) { return; } // Actions (buttons) wrapper if (!params.showConfirmButton && !params.showDenyButton && !params.showCancelButton) { hide(actions); } else { show(actions); } // Custom class applyCustomClass(actions, params, 'actions'); // Render all the buttons renderButtons(actions, loader, params); // Loader setInnerHtml(loader, params.loaderHtml || ''); applyCustomClass(loader, params, 'loader'); }; /** * @param {HTMLElement} actions * @param {HTMLElement} loader * @param {SweetAlertOptions} params */ function renderButtons(actions, loader, params) { const confirmButton = getConfirmButton(); const denyButton = getDenyButton(); const cancelButton = getCancelButton(); if (!confirmButton || !denyButton || !cancelButton) { return; } // Render buttons renderButton(confirmButton, 'confirm', params); renderButton(denyButton, 'deny', params); renderButton(cancelButton, 'cancel', params); handleButtonsStyling(confirmButton, denyButton, cancelButton, params); if (params.reverseButtons) { if (params.toast) { actions.insertBefore(cancelButton, confirmButton); actions.insertBefore(denyButton, confirmButton); } else { actions.insertBefore(cancelButton, loader); actions.insertBefore(denyButton, loader); actions.insertBefore(confirmButton, loader); } } } /** * @param {HTMLElement} confirmButton * @param {HTMLElement} denyButton * @param {HTMLElement} cancelButton * @param {SweetAlertOptions} params */ function handleButtonsStyling(confirmButton, denyButton, cancelButton, params) { if (!params.buttonsStyling) { removeClass([confirmButton, denyButton, cancelButton], swalClasses.styled); return; } addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); // Apply custom background colors to action buttons if (params.confirmButtonColor) { confirmButton.style.setProperty('--swal2-confirm-button-background-color', params.confirmButtonColor); } if (params.denyButtonColor) { denyButton.style.setProperty('--swal2-deny-button-background-color', params.denyButtonColor); } if (params.cancelButtonColor) { cancelButton.style.setProperty('--swal2-cancel-button-background-color', params.cancelButtonColor); } // Apply the outline color to action buttons applyOutlineColor(confirmButton); applyOutlineColor(denyButton); applyOutlineColor(cancelButton); } /** * @param {HTMLElement} button */ function applyOutlineColor(button) { const buttonStyle = window.getComputedStyle(button); if (buttonStyle.getPropertyValue('--swal2-action-button-focus-box-shadow')) { // If the button already has a custom outline color, no need to change it return; } const outlineColor = buttonStyle.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/, 'rgba($1, $2, $3, 0.5)'); button.style.setProperty('--swal2-action-button-focus-box-shadow', buttonStyle.getPropertyValue('--swal2-outline').replace(/ rgba\(.*/, ` ${outlineColor}`)); } /** * @param {HTMLElement} button * @param {'confirm' | 'deny' | 'cancel'} buttonType * @param {SweetAlertOptions} params */ function renderButton(button, buttonType, params) { const buttonName = /** @type {'Confirm' | 'Deny' | 'Cancel'} */capitalizeFirstLetter(buttonType); toggle(button, params[`show${buttonName}Button`], 'inline-block'); setInnerHtml(button, params[`${buttonType}ButtonText`] || ''); // Set caption text button.setAttribute('aria-label', params[`${buttonType}ButtonAriaLabel`] || ''); // ARIA label // Add buttons custom classes button.className = swalClasses[buttonType]; applyCustomClass(button, params, `${buttonType}Button`); } /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderCloseButton = (instance, params) => { const closeButton = getCloseButton(); if (!closeButton) { return; } setInnerHtml(closeButton, params.closeButtonHtml || ''); // Custom class applyCustomClass(closeButton, params, 'closeButton'); toggle(closeButton, params.showCloseButton); closeButton.setAttribute('aria-label', params.closeButtonAriaLabel || ''); }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderContainer = (instance, params) => { const container = getContainer(); if (!container) { return; } handleBackdropParam(container, params.backdrop); handlePositionParam(container, params.position); handleGrowParam(container, params.grow); // Custom class applyCustomClass(container, params, 'container'); }; /** * @param {HTMLElement} container * @param {SweetAlertOptions['backdrop']} backdrop */ function handleBackdropParam(container, backdrop) { if (typeof backdrop === 'string') { container.style.background = backdrop; } else if (!backdrop) { addClass([document.documentElement, document.body], swalClasses['no-backdrop']); } } /** * @param {HTMLElement} container * @param {SweetAlertOptions['position']} position */ function handlePositionParam(container, position) { if (!position) { return; } if (position in swalClasses) { addClass(container, swalClasses[position]); } else { warn('The "position" parameter is not valid, defaulting to "center"'); addClass(container, swalClasses.center); } } /** * @param {HTMLElement} container * @param {SweetAlertOptions['grow']} grow */ function handleGrowParam(container, grow) { if (!grow) { return; } addClass(container, swalClasses[`grow-${grow}`]); } /** * This module contains `WeakMap`s for each effectively-"private property" that a `Swal` has. * For example, to set the private property "foo" of `this` to "bar", you can `privateProps.foo.set(this, 'bar')` * This is the approach that Babel will probably take to implement private methods/fields * https://github.com/tc39/proposal-private-methods * https://github.com/babel/babel/pull/7555 * Once we have the changes from that PR in Babel, and our core class fits reasonable in *one module* * then we can use that language feature. */ var privateProps = { innerParams: new WeakMap(), domCache: new WeakMap() }; /// /** @type {InputClass[]} */ const inputClasses = ['input', 'file', 'range', 'select', 'radio', 'checkbox', 'textarea']; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderInput = (instance, params) => { const popup = getPopup(); if (!popup) { return; } const innerParams = privateProps.innerParams.get(instance); const rerender = !innerParams || params.input !== innerParams.input; inputClasses.forEach(inputClass => { const inputContainer = getDirectChildByClass(popup, swalClasses[inputClass]); if (!inputContainer) { return; } // set attributes setAttributes(inputClass, params.inputAttributes); // set class inputContainer.className = swalClasses[inputClass]; if (rerender) { hide(inputContainer); } }); if (params.input) { if (rerender) { showInput(params); } // set custom class setCustomClass(params); } }; /** * @param {SweetAlertOptions} params */ const showInput = params => { if (!params.input) { return; } if (!renderInputType[params.input]) { error(`Unexpected type of input! Expected ${Object.keys(renderInputType).join(' | ')}, got "${params.input}"`); return; } const inputContainer = getInputContainer(params.input); if (!inputContainer) { return; } const input = renderInputType[params.input](inputContainer, params); show(inputContainer); // input autofocus if (params.inputAutoFocus) { setTimeout(() => { focusInput(input); }); } }; /** * @param {HTMLInputElement} input */ const removeAttributes = input => { for (let i = 0; i < input.attributes.length; i++) { const attrName = input.attributes[i].name; if (!['id', 'type', 'value', 'style'].includes(attrName)) { input.removeAttribute(attrName); } } }; /** * @param {InputClass} inputClass * @param {SweetAlertOptions['inputAttributes']} inputAttributes */ const setAttributes = (inputClass, inputAttributes) => { const popup = getPopup(); if (!popup) { return; } const input = getInput$1(popup, inputClass); if (!input) { return; } removeAttributes(input); for (const attr in inputAttributes) { input.setAttribute(attr, inputAttributes[attr]); } }; /** * @param {SweetAlertOptions} params */ const setCustomClass = params => { if (!params.input) { return; } const inputContainer = getInputContainer(params.input); if (inputContainer) { applyCustomClass(inputContainer, params, 'input'); } }; /** * @param {HTMLInputElement | HTMLTextAreaElement} input * @param {SweetAlertOptions} params */ const setInputPlaceholder = (input, params) => { if (!input.placeholder && params.inputPlaceholder) { input.placeholder = params.inputPlaceholder; } }; /** * @param {Input} input * @param {Input} prependTo * @param {SweetAlertOptions} params */ const setInputLabel = (input, prependTo, params) => { if (params.inputLabel) { const label = document.createElement('label'); const labelClass = swalClasses['input-label']; label.setAttribute('for', input.id); label.className = labelClass; if (typeof params.customClass === 'object') { addClass(label, params.customClass.inputLabel); } label.innerText = params.inputLabel; prependTo.insertAdjacentElement('beforebegin', label); } }; /** * @param {SweetAlertInput} inputType * @returns {HTMLElement | undefined} */ const getInputContainer = inputType => { const popup = getPopup(); if (!popup) { return; } return getDirectChildByClass(popup, swalClasses[(/** @type {SwalClass} */inputType)] || swalClasses.input); }; /** * @param {HTMLInputElement | HTMLOutputElement | HTMLTextAreaElement} input * @param {SweetAlertOptions['inputValue']} inputValue */ const checkAndSetInputValue = (input, inputValue) => { if (['string', 'number'].includes(typeof inputValue)) { input.value = `${inputValue}`; } else if (!isPromise(inputValue)) { warn(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof inputValue}"`); } }; /** @type {Record Input>} */ const renderInputType = {}; /** * @param {Input | HTMLElement} input * @param {SweetAlertOptions} params * @returns {Input} */ renderInputType.text = renderInputType.email = renderInputType.password = renderInputType.number = renderInputType.tel = renderInputType.url = renderInputType.search = renderInputType.date = renderInputType['datetime-local'] = renderInputType.time = renderInputType.week = renderInputType.month = /** @type {(input: Input | HTMLElement, params: SweetAlertOptions) => Input} */ (input, params) => { const inputElement = /** @type {HTMLInputElement} */input; checkAndSetInputValue(inputElement, params.inputValue); setInputLabel(inputElement, inputElement, params); setInputPlaceholder(inputElement, params); inputElement.type = /** @type {string} */params.input; return inputElement; }; /** * @param {Input | HTMLElement} input * @param {SweetAlertOptions} params * @returns {Input} */ renderInputType.file = (input, params) => { const inputElement = /** @type {HTMLInputElement} */input; setInputLabel(inputElement, inputElement, params); setInputPlaceholder(inputElement, params); return inputElement; }; /** * @param {Input | HTMLElement} range * @param {SweetAlertOptions} params * @returns {Input} */ renderInputType.range = (range, params) => { const rangeContainer = /** @type {HTMLElement} */range; const rangeInput = rangeContainer.querySelector('input'); const rangeOutput = rangeContainer.querySelector('output'); if (rangeInput) { checkAndSetInputValue(rangeInput, params.inputValue); rangeInput.type = /** @type {string} */params.input; setInputLabel(rangeInput, /** @type {Input} */range, params); } if (rangeOutput) { checkAndSetInputValue(rangeOutput, params.inputValue); } return /** @type {Input} */range; }; /** * @param {Input | HTMLElement} select * @param {SweetAlertOptions} params * @returns {Input} */ renderInputType.select = (select, params) => { const selectElement = /** @type {HTMLSelectElement} */select; selectElement.textContent = ''; if (params.inputPlaceholder) { const placeholder = document.createElement('option'); setInnerHtml(placeholder, params.inputPlaceholder); placeholder.value = ''; placeholder.disabled = true; placeholder.selected = true; selectElement.appendChild(placeholder); } setInputLabel(selectElement, selectElement, params); return selectElement; }; /** * @param {Input | HTMLElement} radio * @returns {Input} */ renderInputType.radio = radio => { const radioElement = /** @type {HTMLElement} */radio; radioElement.textContent = ''; return /** @type {Input} */radio; }; /** * @param {Input | HTMLElement} checkboxContainer * @param {SweetAlertOptions} params * @returns {Input} */ renderInputType.checkbox = (checkboxContainer, params) => { const popup = getPopup(); if (!popup) { throw new Error('Popup not found'); } const checkbox = getInput$1(popup, 'checkbox'); if (!checkbox) { throw new Error('Checkbox input not found'); } checkbox.value = '1'; checkbox.checked = Boolean(params.inputValue); const containerElement = /** @type {HTMLElement} */checkboxContainer; const label = containerElement.querySelector('span'); if (label) { const placeholderOrLabel = params.inputPlaceholder || params.inputLabel; if (placeholderOrLabel) { setInnerHtml(label, placeholderOrLabel); } } return checkbox; }; /** * @param {Input | HTMLElement} textarea * @param {SweetAlertOptions} params * @returns {Input} */ renderInputType.textarea = (textarea, params) => { const textareaElement = /** @type {HTMLTextAreaElement} */textarea; checkAndSetInputValue(textareaElement, params.inputValue); setInputPlaceholder(textareaElement, params); setInputLabel(textareaElement, textareaElement, params); /** * @param {HTMLElement} el * @returns {number} */ const getMargin = el => parseInt(window.getComputedStyle(el).marginLeft) + parseInt(window.getComputedStyle(el).marginRight); // https://github.com/sweetalert2/sweetalert2/issues/2291 setTimeout(() => { // https://github.com/sweetalert2/sweetalert2/issues/1699 if ('MutationObserver' in window) { const popup = getPopup(); if (!popup) { return; } const initialPopupWidth = parseInt(window.getComputedStyle(popup).width); const textareaResizeHandler = () => { // check if texarea is still in document (i.e. popup wasn't closed in the meantime) if (!document.body.contains(textareaElement)) { return; } const textareaWidth = textareaElement.offsetWidth + getMargin(textareaElement); const popupElement = getPopup(); if (popupElement) { if (textareaWidth > initialPopupWidth) { popupElement.style.width = `${textareaWidth}px`; } else { applyNumericalStyle(popupElement, 'width', params.width); } } }; new MutationObserver(textareaResizeHandler).observe(textareaElement, { attributes: true, attributeFilter: ['style'] }); } }); return textareaElement; }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderContent = (instance, params) => { const htmlContainer = getHtmlContainer(); if (!htmlContainer) { return; } showWhenInnerHtmlPresent(htmlContainer); applyCustomClass(htmlContainer, params, 'htmlContainer'); // Content as HTML if (params.html) { parseHtmlToContainer(params.html, htmlContainer); show(htmlContainer, 'block'); } // Content as plain text else if (params.text) { htmlContainer.textContent = params.text; show(htmlContainer, 'block'); } // No content else { hide(htmlContainer); } renderInput(instance, params); }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderFooter = (instance, params) => { const footer = getFooter(); if (!footer) { return; } showWhenInnerHtmlPresent(footer); toggle(footer, Boolean(params.footer), 'block'); if (params.footer) { parseHtmlToContainer(params.footer, footer); } // Custom class applyCustomClass(footer, params, 'footer'); }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderIcon = (instance, params) => { const innerParams = privateProps.innerParams.get(instance); const icon = getIcon(); if (!icon) { return; } // if the given icon already rendered, apply the styling without re-rendering the icon if (innerParams && params.icon === innerParams.icon) { // Custom or default content setContent(icon, params); applyStyles(icon, params); return; } if (!params.icon && !params.iconHtml) { hide(icon); return; } if (params.icon && Object.keys(iconTypes).indexOf(params.icon) === -1) { error(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${params.icon}"`); hide(icon); return; } show(icon); // Custom or default content setContent(icon, params); applyStyles(icon, params); // Animate icon addClass(icon, params.showClass && params.showClass.icon); // Re-adjust the success icon on system theme change const colorSchemeQueryList = window.matchMedia('(prefers-color-scheme: dark)'); colorSchemeQueryList.addEventListener('change', adjustSuccessIconBackgroundColor); }; /** * @param {HTMLElement} icon * @param {SweetAlertOptions} params */ const applyStyles = (icon, params) => { for (const [iconType, iconClassName] of Object.entries(iconTypes)) { if (params.icon !== iconType) { removeClass(icon, iconClassName); } } addClass(icon, params.icon && iconTypes[params.icon]); // Icon color setColor(icon, params); // Success icon background color adjustSuccessIconBackgroundColor(); // Custom class applyCustomClass(icon, params, 'icon'); }; // Adjust success icon background color to match the popup background color const adjustSuccessIconBackgroundColor = () => { const popup = getPopup(); if (!popup) { return; } const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); /** @type {NodeListOf} */ const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); for (let i = 0; i < successIconParts.length; i++) { successIconParts[i].style.backgroundColor = popupBackgroundColor; } }; /** * * @param {SweetAlertOptions} params * @returns {string} */ const successIconHtml = params => ` ${params.animation ? '
    ' : ''}
    ${params.animation ? '
    ' : ''} ${params.animation ? '
    ' : ''} `; const errorIconHtml = ` `; /** * @param {HTMLElement} icon * @param {SweetAlertOptions} params */ const setContent = (icon, params) => { if (!params.icon && !params.iconHtml) { return; } let oldContent = icon.innerHTML; let newContent = ''; if (params.iconHtml) { newContent = iconContent(params.iconHtml); } else if (params.icon === 'success') { newContent = successIconHtml(params); oldContent = oldContent.replace(/ style=".*?"/g, ''); // undo adjustSuccessIconBackgroundColor() } else if (params.icon === 'error') { newContent = errorIconHtml; } else if (params.icon) { const defaultIconHtml = { question: '?', warning: '!', info: 'i' }; newContent = iconContent(defaultIconHtml[params.icon]); } if (oldContent.trim() !== newContent.trim()) { setInnerHtml(icon, newContent); } }; /** * @param {HTMLElement} icon * @param {SweetAlertOptions} params */ const setColor = (icon, params) => { if (!params.iconColor) { return; } icon.style.color = params.iconColor; icon.style.borderColor = params.iconColor; for (const sel of ['.swal2-success-line-tip', '.swal2-success-line-long', '.swal2-x-mark-line-left', '.swal2-x-mark-line-right']) { setStyle(icon, sel, 'background-color', params.iconColor); } setStyle(icon, '.swal2-success-ring', 'border-color', params.iconColor); }; /** * @param {string} content * @returns {string} */ const iconContent = content => `
    ${content}
    `; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderImage = (instance, params) => { const image = getImage(); if (!image) { return; } if (!params.imageUrl) { hide(image); return; } show(image, ''); // Src, alt image.setAttribute('src', params.imageUrl); image.setAttribute('alt', params.imageAlt || ''); // Width, height applyNumericalStyle(image, 'width', params.imageWidth); applyNumericalStyle(image, 'height', params.imageHeight); // Class image.className = swalClasses.image; applyCustomClass(image, params, 'image'); }; let dragging = false; let mousedownX = 0; let mousedownY = 0; let initialX = 0; let initialY = 0; /** * @param {HTMLElement} popup */ const addDraggableListeners = popup => { popup.addEventListener('mousedown', down); document.body.addEventListener('mousemove', move); popup.addEventListener('mouseup', up); popup.addEventListener('touchstart', down); document.body.addEventListener('touchmove', move); popup.addEventListener('touchend', up); }; /** * @param {HTMLElement} popup */ const removeDraggableListeners = popup => { popup.removeEventListener('mousedown', down); document.body.removeEventListener('mousemove', move); popup.removeEventListener('mouseup', up); popup.removeEventListener('touchstart', down); document.body.removeEventListener('touchmove', move); popup.removeEventListener('touchend', up); }; /** * @param {MouseEvent | TouchEvent} event */ const down = event => { const popup = getPopup(); if (!popup) { return; } const icon = getIcon(); if (event.target === popup || icon && icon.contains(/** @type {HTMLElement} */event.target)) { dragging = true; const clientXY = getClientXY(event); mousedownX = clientXY.clientX; mousedownY = clientXY.clientY; initialX = parseInt(popup.style.insetInlineStart) || 0; initialY = parseInt(popup.style.insetBlockStart) || 0; addClass(popup, 'swal2-dragging'); } }; /** * @param {MouseEvent | TouchEvent} event */ const move = event => { const popup = getPopup(); if (!popup) { return; } if (dragging) { let { clientX, clientY } = getClientXY(event); const deltaX = clientX - mousedownX; // In RTL mode, negate the horizontal delta since insetInlineStart refers to the right edge popup.style.insetInlineStart = `${initialX + (globalState.isRTL ? -deltaX : deltaX)}px`; popup.style.insetBlockStart = `${initialY + (clientY - mousedownY)}px`; } }; const up = () => { const popup = getPopup(); dragging = false; removeClass(popup, 'swal2-dragging'); }; /** * @param {MouseEvent | TouchEvent} event * @returns {{ clientX: number, clientY: number }} */ const getClientXY = event => { let clientX = 0, clientY = 0; if (event.type.startsWith('mouse')) { clientX = /** @type {MouseEvent} */event.clientX; clientY = /** @type {MouseEvent} */event.clientY; } else if (event.type.startsWith('touch')) { clientX = /** @type {TouchEvent} */event.touches[0].clientX; clientY = /** @type {TouchEvent} */event.touches[0].clientY; } return { clientX, clientY }; }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderPopup = (instance, params) => { const container = getContainer(); const popup = getPopup(); if (!container || !popup) { return; } // Width // https://github.com/sweetalert2/sweetalert2/issues/2170 if (params.toast) { applyNumericalStyle(container, 'width', params.width); popup.style.width = '100%'; const loader = getLoader(); if (loader) { popup.insertBefore(loader, getIcon()); } } else { applyNumericalStyle(popup, 'width', params.width); } // Padding applyNumericalStyle(popup, 'padding', params.padding); // Color if (params.color) { popup.style.color = params.color; } // Background if (params.background) { popup.style.background = params.background; } hide(getValidationMessage()); // Classes addClasses$1(popup, params); if (params.draggable && !params.toast) { addClass(popup, swalClasses.draggable); addDraggableListeners(popup); } else { removeClass(popup, swalClasses.draggable); removeDraggableListeners(popup); } }; /** * @param {HTMLElement} popup * @param {SweetAlertOptions} params */ const addClasses$1 = (popup, params) => { const showClass = params.showClass || {}; // Default Class + showClass when updating Swal.update({}) popup.className = `${swalClasses.popup} ${isVisible$1(popup) ? showClass.popup : ''}`; if (params.toast) { addClass([document.documentElement, document.body], swalClasses['toast-shown']); addClass(popup, swalClasses.toast); } else { addClass(popup, swalClasses.modal); } // Custom class applyCustomClass(popup, params, 'popup'); // TODO: remove in the next major if (typeof params.customClass === 'string') { addClass(popup, params.customClass); } // Icon class (#1842) if (params.icon) { addClass(popup, swalClasses[`icon-${params.icon}`]); } }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderProgressSteps = (instance, params) => { const progressStepsContainer = getProgressSteps(); if (!progressStepsContainer) { return; } const { progressSteps, currentProgressStep } = params; if (!progressSteps || progressSteps.length === 0 || currentProgressStep === undefined) { hide(progressStepsContainer); return; } show(progressStepsContainer); progressStepsContainer.textContent = ''; if (currentProgressStep >= progressSteps.length) { warn('Invalid currentProgressStep parameter, it should be less than progressSteps.length ' + '(currentProgressStep like JS arrays starts from 0)'); } progressSteps.forEach((step, index) => { const stepEl = createStepElement(step); progressStepsContainer.appendChild(stepEl); if (index === currentProgressStep) { addClass(stepEl, swalClasses['active-progress-step']); } if (index !== progressSteps.length - 1) { const lineEl = createLineElement(params); progressStepsContainer.appendChild(lineEl); } }); }; /** * @param {string} step * @returns {HTMLLIElement} */ const createStepElement = step => { const stepEl = document.createElement('li'); addClass(stepEl, swalClasses['progress-step']); setInnerHtml(stepEl, step); return stepEl; }; /** * @param {SweetAlertOptions} params * @returns {HTMLLIElement} */ const createLineElement = params => { const lineEl = document.createElement('li'); addClass(lineEl, swalClasses['progress-step-line']); if (params.progressStepsDistance) { applyNumericalStyle(lineEl, 'width', params.progressStepsDistance); } return lineEl; }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const renderTitle = (instance, params) => { const title = getTitle(); if (!title) { return; } showWhenInnerHtmlPresent(title); toggle(title, Boolean(params.title || params.titleText), 'block'); if (params.title) { parseHtmlToContainer(params.title, title); } if (params.titleText) { title.innerText = params.titleText; } // Custom class applyCustomClass(title, params, 'title'); }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const render = (instance, params) => { var _globalState$eventEmi; renderPopup(instance, params); renderContainer(instance, params); renderProgressSteps(instance, params); renderIcon(instance, params); renderImage(instance, params); renderTitle(instance, params); renderCloseButton(instance, params); renderContent(instance, params); renderActions(instance, params); renderFooter(instance, params); const popup = getPopup(); if (typeof params.didRender === 'function' && popup) { params.didRender(popup); } (_globalState$eventEmi = globalState.eventEmitter) === null || _globalState$eventEmi === void 0 || _globalState$eventEmi.emit('didRender', popup); }; /* * Global function to determine if SweetAlert2 popup is shown */ const isVisible = () => { return isVisible$1(getPopup()); }; /* * Global function to click 'Confirm' button */ const clickConfirm = () => { var _dom$getConfirmButton; return (_dom$getConfirmButton = getConfirmButton()) === null || _dom$getConfirmButton === void 0 ? void 0 : _dom$getConfirmButton.click(); }; /* * Global function to click 'Deny' button */ const clickDeny = () => { var _dom$getDenyButton; return (_dom$getDenyButton = getDenyButton()) === null || _dom$getDenyButton === void 0 ? void 0 : _dom$getDenyButton.click(); }; /* * Global function to click 'Cancel' button */ const clickCancel = () => { var _dom$getCancelButton; return (_dom$getCancelButton = getCancelButton()) === null || _dom$getCancelButton === void 0 ? void 0 : _dom$getCancelButton.click(); }; /** @type {Record} */ const DismissReason = Object.freeze({ cancel: 'cancel', backdrop: 'backdrop', close: 'close', esc: 'esc', timer: 'timer' }); /** * @param {GlobalState} globalState */ const removeKeydownHandler = globalState => { if (globalState.keydownTarget && globalState.keydownHandlerAdded && globalState.keydownHandler) { const handler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */globalState.keydownHandler; globalState.keydownTarget.removeEventListener('keydown', handler, { capture: globalState.keydownListenerCapture }); globalState.keydownHandlerAdded = false; } }; /** * @param {GlobalState} globalState * @param {SweetAlertOptions} innerParams * @param {(dismiss: DismissReason) => void} dismissWith */ const addKeydownHandler = (globalState, innerParams, dismissWith) => { removeKeydownHandler(globalState); if (!innerParams.toast) { /** @type {(this: HTMLElement, event: KeyboardEvent) => void} */ const handler = e => keydownHandler(innerParams, e, dismissWith); globalState.keydownHandler = handler; const target = innerParams.keydownListenerCapture ? window : getPopup(); if (target) { globalState.keydownTarget = target; globalState.keydownListenerCapture = innerParams.keydownListenerCapture; const eventHandler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */handler; globalState.keydownTarget.addEventListener('keydown', eventHandler, { capture: globalState.keydownListenerCapture }); globalState.keydownHandlerAdded = true; } } }; /** * @param {number} index * @param {number} increment */ const setFocus = (index, increment) => { var _dom$getPopup; const focusableElements = getFocusableElements(); // search for visible elements and select the next possible match if (focusableElements.length) { index = index + increment; // shift + tab when .swal2-popup is focused if (index === -2) { index = focusableElements.length - 1; } // rollover to first item if (index === focusableElements.length) { index = 0; // go to last item } else if (index === -1) { index = focusableElements.length - 1; } focusableElements[index].focus(); return; } // no visible focusable elements, focus the popup (_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus(); }; const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; /** * @param {SweetAlertOptions} innerParams * @param {KeyboardEvent} event * @param {(dismiss: DismissReason) => void} dismissWith */ const keydownHandler = (innerParams, event, dismissWith) => { if (!innerParams) { return; // This instance has already been destroyed } // Ignore keydown during IME composition // https://developer.mozilla.org/en-US/docs/Web/API/Document/keydown_event#ignoring_keydown_during_ime_composition // https://github.com/sweetalert2/sweetalert2/issues/720 // https://github.com/sweetalert2/sweetalert2/issues/2406 if (event.isComposing || event.keyCode === 229) { return; } if (innerParams.stopKeydownPropagation) { event.stopPropagation(); } // ENTER if (event.key === 'Enter') { handleEnter(event, innerParams); } // TAB else if (event.key === 'Tab') { handleTab(event); } // ARROWS - switch focus between buttons else if ([...arrowKeysNextButton, ...arrowKeysPreviousButton].includes(event.key)) { handleArrows(event.key); } // ESC else if (event.key === 'Escape') { handleEsc(event, innerParams, dismissWith); } }; /** * @param {KeyboardEvent} event * @param {SweetAlertOptions} innerParams */ const handleEnter = (event, innerParams) => { // https://github.com/sweetalert2/sweetalert2/issues/2386 if (!callIfFunction(innerParams.allowEnterKey)) { return; } const popup = getPopup(); if (!popup || !innerParams.input) { return; } const input = getInput$1(popup, innerParams.input); if (event.target && input && event.target instanceof HTMLElement && event.target.outerHTML === input.outerHTML) { if (['textarea', 'file'].includes(innerParams.input)) { return; // do not submit } clickConfirm(); event.preventDefault(); } }; /** * @param {KeyboardEvent} event */ const handleTab = event => { const targetElement = event.target; const focusableElements = getFocusableElements(); let btnIndex = -1; for (let i = 0; i < focusableElements.length; i++) { if (targetElement === focusableElements[i]) { btnIndex = i; break; } } // Cycle to the next button if (!event.shiftKey) { setFocus(btnIndex, 1); } // Cycle to the prev button else { setFocus(btnIndex, -1); } event.stopPropagation(); event.preventDefault(); }; /** * @param {string} key */ const handleArrows = key => { const actions = getActions(); const confirmButton = getConfirmButton(); const denyButton = getDenyButton(); const cancelButton = getCancelButton(); if (!actions || !confirmButton || !denyButton || !cancelButton) { return; } /** @type HTMLElement[] */ const buttons = [confirmButton, denyButton, cancelButton]; if (document.activeElement instanceof HTMLElement && !buttons.includes(document.activeElement)) { return; } const sibling = arrowKeysNextButton.includes(key) ? 'nextElementSibling' : 'previousElementSibling'; let buttonToFocus = document.activeElement; if (!buttonToFocus) { return; } for (let i = 0; i < actions.children.length; i++) { buttonToFocus = buttonToFocus[sibling]; if (!buttonToFocus) { return; } if (buttonToFocus instanceof HTMLButtonElement && isVisible$1(buttonToFocus)) { break; } } if (buttonToFocus instanceof HTMLButtonElement) { buttonToFocus.focus(); } }; /** * @param {KeyboardEvent} event * @param {SweetAlertOptions} innerParams * @param {(dismiss: DismissReason) => void} dismissWith */ const handleEsc = (event, innerParams, dismissWith) => { event.preventDefault(); if (callIfFunction(innerParams.allowEscapeKey)) { dismissWith(DismissReason.esc); } }; /** * This module contains `WeakMap`s for each effectively-"private property" that a `Swal` has. * For example, to set the private property "foo" of `this` to "bar", you can `privateProps.foo.set(this, 'bar')` * This is the approach that Babel will probably take to implement private methods/fields * https://github.com/tc39/proposal-private-methods * https://github.com/babel/babel/pull/7555 * Once we have the changes from that PR in Babel, and our core class fits reasonable in *one module* * then we can use that language feature. */ var privateMethods = { swalPromiseResolve: new WeakMap(), swalPromiseReject: new WeakMap() }; // From https://developer.paciellogroup.com/blog/2018/06/the-current-state-of-modal-dialog-accessibility/ // Adding aria-hidden="true" to elements outside of the active modal dialog ensures that // elements not within the active modal dialog will not be surfaced if a user opens a screen // reader’s list of elements (headings, form controls, landmarks, etc.) in the document. const setAriaHidden = () => { const container = getContainer(); const bodyChildren = Array.from(document.body.children); bodyChildren.forEach(el => { if (el.contains(container)) { return; } if (el.hasAttribute('aria-hidden')) { el.setAttribute('data-previous-aria-hidden', el.getAttribute('aria-hidden') || ''); } el.setAttribute('aria-hidden', 'true'); }); }; const unsetAriaHidden = () => { const bodyChildren = Array.from(document.body.children); bodyChildren.forEach(el => { if (el.hasAttribute('data-previous-aria-hidden')) { el.setAttribute('aria-hidden', el.getAttribute('data-previous-aria-hidden') || ''); el.removeAttribute('data-previous-aria-hidden'); } else { el.removeAttribute('aria-hidden'); } }); }; // @ts-ignore const isSafariOrIOS = typeof window !== 'undefined' && Boolean(window.GestureEvent); // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394 /** * Fix iOS scrolling * http://stackoverflow.com/q/39626302 */ const iOSfix = () => { if (isSafariOrIOS && !hasClass(document.body, swalClasses.iosfix)) { const offset = document.body.scrollTop; document.body.style.top = `${offset * -1}px`; addClass(document.body, swalClasses.iosfix); lockBodyScroll(); } }; /** * https://github.com/sweetalert2/sweetalert2/issues/1246 */ const lockBodyScroll = () => { const container = getContainer(); if (!container) { return; } /** @type {boolean} */ let preventTouchMove; /** * @param {TouchEvent} event */ container.ontouchstart = event => { preventTouchMove = shouldPreventTouchMove(event); }; /** * @param {TouchEvent} event */ container.ontouchmove = event => { if (preventTouchMove) { event.preventDefault(); event.stopPropagation(); } }; }; /** * @param {TouchEvent} event * @returns {boolean} */ const shouldPreventTouchMove = event => { const target = event.target; const container = getContainer(); const htmlContainer = getHtmlContainer(); if (!container || !htmlContainer) { return false; } if (isStylus(event) || isZoom(event)) { return false; } if (target === container) { return true; } if (!isScrollable(container) && target instanceof HTMLElement && !selfOrParentIsScrollable(target, htmlContainer) && // #2823 target.tagName !== 'INPUT' && // #1603 target.tagName !== 'TEXTAREA' && // #2266 !(isScrollable(htmlContainer) && // #1944 htmlContainer.contains(target))) { return true; } return false; }; /** * https://github.com/sweetalert2/sweetalert2/issues/1786 * * @param {TouchEvent} event * @returns {boolean} */ const isStylus = event => { return Boolean(event.touches && event.touches.length && // @ts-ignore - touchType is not a standard property event.touches[0].touchType === 'stylus'); }; /** * https://github.com/sweetalert2/sweetalert2/issues/1891 * * @param {TouchEvent} event * @returns {boolean} */ const isZoom = event => { return event.touches && event.touches.length > 1; }; const undoIOSfix = () => { if (hasClass(document.body, swalClasses.iosfix)) { const offset = parseInt(document.body.style.top, 10); removeClass(document.body, swalClasses.iosfix); document.body.style.top = ''; document.body.scrollTop = offset * -1; } }; /** * Measure scrollbar width for padding body during modal show/hide * https://github.com/twbs/bootstrap/blob/master/js/src/modal.js * * @returns {number} */ const measureScrollbar = () => { const scrollDiv = document.createElement('div'); scrollDiv.className = swalClasses['scrollbar-measure']; document.body.appendChild(scrollDiv); const scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth; document.body.removeChild(scrollDiv); return scrollbarWidth; }; /** * Remember state in cases where opening and handling a modal will fiddle with it. * @type {number | null} */ let previousBodyPadding = null; /** * @param {string} initialBodyOverflow */ const replaceScrollbarWithPadding = initialBodyOverflow => { // for queues, do not do this more than once if (previousBodyPadding !== null) { return; } // if the body has overflow if (document.body.scrollHeight > window.innerHeight || initialBodyOverflow === 'scroll' // https://github.com/sweetalert2/sweetalert2/issues/2663 ) { // add padding so the content doesn't shift after removal of scrollbar previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue('padding-right')); document.body.style.paddingRight = `${previousBodyPadding + measureScrollbar()}px`; } }; const undoReplaceScrollbarWithPadding = () => { if (previousBodyPadding !== null) { document.body.style.paddingRight = `${previousBodyPadding}px`; previousBodyPadding = null; } }; /** * @param {SweetAlert} instance * @param {HTMLElement} container * @param {boolean} returnFocus * @param {(() => void) | undefined} didClose */ function removePopupAndResetState(instance, container, returnFocus, didClose) { if (isToast()) { triggerDidCloseAndDispose(instance, didClose); } else { restoreActiveElement(returnFocus).then(() => triggerDidCloseAndDispose(instance, didClose)); removeKeydownHandler(globalState); } // workaround for https://github.com/sweetalert2/sweetalert2/issues/2088 // for some reason removing the container in Safari will scroll the document to bottom if (isSafariOrIOS) { container.setAttribute('style', 'display:none !important'); container.removeAttribute('class'); container.innerHTML = ''; } else { container.remove(); } if (isModal()) { undoReplaceScrollbarWithPadding(); undoIOSfix(); unsetAriaHidden(); } removeBodyClasses(); } /** * Remove SweetAlert2 classes from body */ function removeBodyClasses() { removeClass([document.documentElement, document.body], [swalClasses.shown, swalClasses['height-auto'], swalClasses['no-backdrop'], swalClasses['toast-shown']]); } /** * Instance method to close sweetAlert * * @param {SweetAlertResult | undefined} resolveValue * @this {SweetAlert} */ function close(resolveValue) { resolveValue = prepareResolveValue(resolveValue); const swalPromiseResolve = privateMethods.swalPromiseResolve.get(this); const didClose = triggerClosePopup(this); if (this.isAwaitingPromise) { // A swal awaiting for a promise (after a click on Confirm or Deny) cannot be dismissed anymore #2335 if (!resolveValue.isDismissed) { handleAwaitingPromise(this); swalPromiseResolve(resolveValue); } } else if (didClose) { // Resolve Swal promise swalPromiseResolve(resolveValue); } } /** * @param {SweetAlert} instance * @returns {boolean} */ const triggerClosePopup = instance => { const popup = getPopup(); if (!popup) { return false; } const innerParams = privateProps.innerParams.get(instance); if (!innerParams || hasClass(popup, innerParams.hideClass.popup)) { return false; } removeClass(popup, innerParams.showClass.popup); addClass(popup, innerParams.hideClass.popup); const backdrop = getContainer(); removeClass(backdrop, innerParams.showClass.backdrop); addClass(backdrop, innerParams.hideClass.backdrop); handlePopupAnimation(instance, popup, innerParams); return true; }; /** * @param {Error | string} error * @this {SweetAlert} */ function rejectPromise(error) { const rejectPromise = privateMethods.swalPromiseReject.get(this); handleAwaitingPromise(this); if (rejectPromise) { // Reject Swal promise rejectPromise(error); } } /** * @param {SweetAlert} instance */ const handleAwaitingPromise = instance => { if (instance.isAwaitingPromise) { // @ts-ignore delete instance.isAwaitingPromise; // The instance might have been previously partly destroyed, we must resume the destroy process in this case #2335 if (!privateProps.innerParams.get(instance)) { instance._destroy(); } } }; /** * @param {SweetAlertResult | undefined} resolveValue * @returns {SweetAlertResult} */ const prepareResolveValue = resolveValue => { // When user calls Swal.close() if (typeof resolveValue === 'undefined') { return { isConfirmed: false, isDenied: false, isDismissed: true }; } return Object.assign({ isConfirmed: false, isDenied: false, isDismissed: false }, resolveValue); }; /** * @param {SweetAlert} instance * @param {HTMLElement} popup * @param {SweetAlertOptions} innerParams */ const handlePopupAnimation = (instance, popup, innerParams) => { var _globalState$eventEmi; const container = getContainer(); // If animation is supported, animate const animationIsSupported = hasCssAnimation(popup); if (typeof innerParams.willClose === 'function') { innerParams.willClose(popup); } (_globalState$eventEmi = globalState.eventEmitter) === null || _globalState$eventEmi === void 0 || _globalState$eventEmi.emit('willClose', popup); if (animationIsSupported && container) { animatePopup(instance, popup, container, Boolean(innerParams.returnFocus), innerParams.didClose); } else if (container) { // Otherwise, remove immediately removePopupAndResetState(instance, container, Boolean(innerParams.returnFocus), innerParams.didClose); } }; /** * @param {SweetAlert} instance * @param {HTMLElement} popup * @param {HTMLElement} container * @param {boolean} returnFocus * @param {(() => void) | undefined} didClose */ const animatePopup = (instance, popup, container, returnFocus, didClose) => { globalState.swalCloseEventFinishedCallback = removePopupAndResetState.bind(null, instance, container, returnFocus, didClose); /** * @param {AnimationEvent | TransitionEvent} e */ const swalCloseAnimationFinished = function (e) { if (e.target === popup) { var _globalState$swalClos; (_globalState$swalClos = globalState.swalCloseEventFinishedCallback) === null || _globalState$swalClos === void 0 || _globalState$swalClos.call(globalState); delete globalState.swalCloseEventFinishedCallback; popup.removeEventListener('animationend', swalCloseAnimationFinished); popup.removeEventListener('transitionend', swalCloseAnimationFinished); } }; popup.addEventListener('animationend', swalCloseAnimationFinished); popup.addEventListener('transitionend', swalCloseAnimationFinished); }; /** * @param {SweetAlert} instance * @param {(() => void) | undefined} didClose */ const triggerDidCloseAndDispose = (instance, didClose) => { setTimeout(() => { var _globalState$eventEmi2; if (typeof didClose === 'function') { didClose.bind(instance.params)(); } (_globalState$eventEmi2 = globalState.eventEmitter) === null || _globalState$eventEmi2 === void 0 || _globalState$eventEmi2.emit('didClose'); // instance might have been destroyed already if (instance._destroy) { instance._destroy(); } }); }; /** * Shows loader (spinner), this is useful with AJAX requests. * By default the loader be shown instead of the "Confirm" button. * * @param {HTMLButtonElement | null} [buttonToReplace] */ const showLoading = buttonToReplace => { let popup = getPopup(); if (!popup) { new Swal(); } popup = getPopup(); if (!popup) { return; } const loader = getLoader(); if (isToast()) { hide(getIcon()); } else { replaceButton(popup, buttonToReplace); } show(loader); popup.setAttribute('data-loading', 'true'); popup.setAttribute('aria-busy', 'true'); popup.focus(); }; /** * @param {HTMLElement} popup * @param {HTMLButtonElement | null} [buttonToReplace] */ const replaceButton = (popup, buttonToReplace) => { const actions = getActions(); const loader = getLoader(); if (!actions || !loader) { return; } if (!buttonToReplace && isVisible$1(getConfirmButton())) { buttonToReplace = getConfirmButton(); } show(actions); if (buttonToReplace) { hide(buttonToReplace); loader.setAttribute('data-button-to-replace', buttonToReplace.className); actions.insertBefore(loader, buttonToReplace); } addClass([popup, actions], swalClasses.loading); }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const handleInputOptionsAndValue = (instance, params) => { if (params.input === 'select' || params.input === 'radio') { handleInputOptions(instance, params); } else if (['text', 'email', 'number', 'tel', 'textarea'].some(i => i === params.input) && (hasToPromiseFn(params.inputValue) || isPromise(params.inputValue))) { showLoading(getConfirmButton()); handleInputValue(instance, params); } }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} innerParams * @returns {SweetAlertInputValue} */ const getInputValue = (instance, innerParams) => { const input = instance.getInput(); if (!input) { return null; } switch (innerParams.input) { case 'checkbox': return getCheckboxValue(input); case 'radio': return getRadioValue(input); case 'file': return getFileValue(input); default: return innerParams.inputAutoTrim ? input.value.trim() : input.value; } }; /** * @param {HTMLInputElement} input * @returns {number} */ const getCheckboxValue = input => input.checked ? 1 : 0; /** * @param {HTMLInputElement} input * @returns {string | null} */ const getRadioValue = input => input.checked ? input.value : null; /** * @param {HTMLInputElement} input * @returns {FileList | File | null} */ const getFileValue = input => input.files && input.files.length ? input.getAttribute('multiple') !== null ? input.files : input.files[0] : null; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const handleInputOptions = (instance, params) => { const popup = getPopup(); if (!popup) { return; } /** * @param {*} inputOptions */ const processInputOptions = inputOptions => { if (params.input === 'select') { populateSelectOptions(popup, formatInputOptions(inputOptions), params); } else if (params.input === 'radio') { populateRadioOptions(popup, formatInputOptions(inputOptions), params); } }; if (hasToPromiseFn(params.inputOptions) || isPromise(params.inputOptions)) { showLoading(getConfirmButton()); asPromise(params.inputOptions).then(inputOptions => { instance.hideLoading(); processInputOptions(inputOptions); }); } else if (typeof params.inputOptions === 'object') { processInputOptions(params.inputOptions); } else { error(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof params.inputOptions}`); } }; /** * @param {SweetAlert} instance * @param {SweetAlertOptions} params */ const handleInputValue = (instance, params) => { const input = instance.getInput(); if (!input) { return; } hide(input); asPromise(params.inputValue).then(inputValue => { input.value = params.input === 'number' ? `${parseFloat(inputValue) || 0}` : `${inputValue}`; show(input); input.focus(); instance.hideLoading(); }).catch(err => { error(`Error in inputValue promise: ${err}`); input.value = ''; show(input); input.focus(); instance.hideLoading(); }); }; /** * @param {HTMLElement} popup * @param {InputOptionFlattened[]} inputOptions * @param {SweetAlertOptions} params */ function populateSelectOptions(popup, inputOptions, params) { const select = getDirectChildByClass(popup, swalClasses.select); if (!select) { return; } /** * @param {HTMLElement} parent * @param {string} optionLabel * @param {string} optionValue */ const renderOption = (parent, optionLabel, optionValue) => { const option = document.createElement('option'); option.value = optionValue; setInnerHtml(option, optionLabel); option.selected = isSelected(optionValue, params.inputValue); parent.appendChild(option); }; inputOptions.forEach(inputOption => { const optionValue = inputOption[0]; const optionLabel = inputOption[1]; // spec: // https://www.w3.org/TR/html401/interact/forms.html#h-17.6 // "...all OPTGROUP elements must be specified directly within a SELECT element (i.e., groups may not be nested)..." // check whether this is a if (Array.isArray(optionLabel)) { // if it is an array, then it is an const optgroup = document.createElement('optgroup'); optgroup.label = optionValue; optgroup.disabled = false; // not configurable for now select.appendChild(optgroup); optionLabel.forEach(o => renderOption(optgroup, o[1], o[0])); } else { // case of valueFormatted = formatInputOptions(valueFormatted); } result.push([key, valueFormatted]); }); } else { Object.keys(inputOptions).forEach(key => { let valueFormatted = inputOptions[key]; if (typeof valueFormatted === 'object') { // case of valueFormatted = formatInputOptions(valueFormatted); } result.push([key, valueFormatted]); }); } return result; }; /** * @param {string} optionValue * @param {SweetAlertInputValue} inputValue * @returns {boolean} */ const isSelected = (optionValue, inputValue) => { return Boolean(inputValue) && inputValue !== null && inputValue !== undefined && inputValue.toString() === optionValue.toString(); }; /** * @param {SweetAlert} instance */ const handleConfirmButtonClick = instance => { const innerParams = privateProps.innerParams.get(instance); instance.disableButtons(); if (innerParams.input) { handleConfirmOrDenyWithInput(instance, 'confirm'); } else { confirm(instance, true); } }; /** * @param {SweetAlert} instance */ const handleDenyButtonClick = instance => { const innerParams = privateProps.innerParams.get(instance); instance.disableButtons(); if (innerParams.returnInputValueOnDeny) { handleConfirmOrDenyWithInput(instance, 'deny'); } else { deny(instance, false); } }; /** * @param {SweetAlert} instance * @param {(dismiss: DismissReason) => void} dismissWith */ const handleCancelButtonClick = (instance, dismissWith) => { instance.disableButtons(); dismissWith(DismissReason.cancel); }; /** * @param {SweetAlert} instance * @param {'confirm' | 'deny'} type */ const handleConfirmOrDenyWithInput = (instance, type) => { const innerParams = privateProps.innerParams.get(instance); if (!innerParams.input) { error(`The "input" parameter is needed to be set when using returnInputValueOn${capitalizeFirstLetter(type)}`); return; } const input = instance.getInput(); const inputValue = getInputValue(instance, innerParams); if (innerParams.inputValidator) { handleInputValidator(instance, inputValue, type); } else if (input && !input.checkValidity()) { instance.enableButtons(); instance.showValidationMessage(innerParams.validationMessage || input.validationMessage); } else if (type === 'deny') { deny(instance, inputValue); } else { confirm(instance, inputValue); } }; /** * @param {SweetAlert} instance * @param {SweetAlertInputValue} inputValue * @param {'confirm' | 'deny'} type */ const handleInputValidator = (instance, inputValue, type) => { const innerParams = privateProps.innerParams.get(instance); instance.disableInput(); const validationPromise = Promise.resolve().then(() => asPromise(innerParams.inputValidator(inputValue, innerParams.validationMessage))); validationPromise.then(validationMessage => { instance.enableButtons(); instance.enableInput(); if (validationMessage) { instance.showValidationMessage(validationMessage); } else if (type === 'deny') { deny(instance, inputValue); } else { confirm(instance, inputValue); } }); }; /** * @param {SweetAlert} instance * @param {*} value */ const deny = (instance, value) => { const innerParams = privateProps.innerParams.get(instance); if (innerParams.showLoaderOnDeny) { showLoading(getDenyButton()); } if (innerParams.preDeny) { instance.isAwaitingPromise = true; // Flagging the instance as awaiting a promise so it's own promise's reject/resolve methods doesn't get destroyed until the result from this preDeny's promise is received const preDenyPromise = Promise.resolve().then(() => asPromise(innerParams.preDeny(value, innerParams.validationMessage))); preDenyPromise.then(preDenyValue => { if (preDenyValue === false) { instance.hideLoading(); handleAwaitingPromise(instance); } else { instance.close(/** @type SweetAlertResult */{ isDenied: true, value: typeof preDenyValue === 'undefined' ? value : preDenyValue }); } }).catch(error => rejectWith(instance, error)); } else { instance.close(/** @type SweetAlertResult */{ isDenied: true, value }); } }; /** * @param {SweetAlert} instance * @param {*} value */ const succeedWith = (instance, value) => { instance.close(/** @type SweetAlertResult */{ isConfirmed: true, value }); }; /** * * @param {SweetAlert} instance * @param {string} error */ const rejectWith = (instance, error) => { instance.rejectPromise(error); }; /** * * @param {SweetAlert} instance * @param {*} value */ const confirm = (instance, value) => { const innerParams = privateProps.innerParams.get(instance); if (innerParams.showLoaderOnConfirm) { showLoading(); } if (innerParams.preConfirm) { instance.resetValidationMessage(); instance.isAwaitingPromise = true; // Flagging the instance as awaiting a promise so it's own promise's reject/resolve methods doesn't get destroyed until the result from this preConfirm's promise is received const preConfirmPromise = Promise.resolve().then(() => asPromise(innerParams.preConfirm(value, innerParams.validationMessage))); preConfirmPromise.then(preConfirmValue => { if (isVisible$1(getValidationMessage()) || preConfirmValue === false) { instance.hideLoading(); handleAwaitingPromise(instance); } else { succeedWith(instance, typeof preConfirmValue === 'undefined' ? value : preConfirmValue); } }).catch(error => rejectWith(instance, error)); } else { succeedWith(instance, value); } }; /** * Hides loader and shows back the button which was hidden by .showLoading() * @this {SweetAlert} */ function hideLoading() { // do nothing if popup is closed const innerParams = privateProps.innerParams.get(this); if (!innerParams) { return; } const domCache = privateProps.domCache.get(this); hide(domCache.loader); if (isToast()) { if (innerParams.icon) { show(getIcon()); } } else { showRelatedButton(domCache); } removeClass([domCache.popup, domCache.actions], swalClasses.loading); domCache.popup.removeAttribute('aria-busy'); domCache.popup.removeAttribute('data-loading'); domCache.confirmButton.disabled = false; domCache.denyButton.disabled = false; domCache.cancelButton.disabled = false; } /** * @param {DomCache} domCache */ const showRelatedButton = domCache => { const dataButtonToReplace = domCache.loader.getAttribute('data-button-to-replace'); const buttonToReplace = dataButtonToReplace ? domCache.popup.getElementsByClassName(dataButtonToReplace) : []; if (buttonToReplace.length) { show(/** @type {HTMLElement} */buttonToReplace[0], 'inline-block'); } else if (allButtonsAreHidden()) { hide(domCache.actions); } }; /** * Gets the input DOM node, this method works with input parameter. * * @returns {HTMLInputElement | null} * @this {SweetAlert} */ function getInput() { const innerParams = privateProps.innerParams.get(this); const domCache = privateProps.domCache.get(this); if (!domCache) { return null; } return getInput$1(domCache.popup, innerParams.input); } /** * @param {SweetAlert} instance * @param {string[]} buttons * @param {boolean} disabled */ function setButtonsDisabled(instance, buttons, disabled) { const domCache = privateProps.domCache.get(instance); buttons.forEach(button => { domCache[button].disabled = disabled; }); } /** * @param {HTMLInputElement | null} input * @param {boolean} disabled */ function setInputDisabled(input, disabled) { const popup = getPopup(); if (!popup || !input) { return; } if (input.type === 'radio') { /** @type {NodeListOf} */ const radios = popup.querySelectorAll(`[name="${swalClasses.radio}"]`); for (let i = 0; i < radios.length; i++) { radios[i].disabled = disabled; } } else { input.disabled = disabled; } } /** * Enable all the buttons * @this {SweetAlert} */ function enableButtons() { setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); } /** * Disable all the buttons * @this {SweetAlert} */ function disableButtons() { setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); } /** * Enable the input field * @this {SweetAlert} */ function enableInput() { setInputDisabled(this.getInput(), false); } /** * Disable the input field * @this {SweetAlert} */ function disableInput() { setInputDisabled(this.getInput(), true); } /** * Show block with validation message * * @param {string} error * @this {SweetAlert} */ function showValidationMessage(error) { const domCache = privateProps.domCache.get(this); const params = privateProps.innerParams.get(this); setInnerHtml(domCache.validationMessage, error); domCache.validationMessage.className = swalClasses['validation-message']; if (params.customClass && params.customClass.validationMessage) { addClass(domCache.validationMessage, params.customClass.validationMessage); } show(domCache.validationMessage); const input = this.getInput(); if (input) { input.setAttribute('aria-invalid', 'true'); input.setAttribute('aria-describedby', swalClasses['validation-message']); focusInput(input); addClass(input, swalClasses.inputerror); } } /** * Hide block with validation message * * @this {SweetAlert} */ function resetValidationMessage() { const domCache = privateProps.domCache.get(this); if (domCache.validationMessage) { hide(domCache.validationMessage); } const input = this.getInput(); if (input) { input.removeAttribute('aria-invalid'); input.removeAttribute('aria-describedby'); removeClass(input, swalClasses.inputerror); } } const defaultParams = { title: '', titleText: '', text: '', html: '', footer: '', icon: undefined, iconColor: undefined, iconHtml: undefined, template: undefined, toast: false, draggable: false, animation: true, theme: 'light', showClass: { popup: 'swal2-show', backdrop: 'swal2-backdrop-show', icon: 'swal2-icon-show' }, hideClass: { popup: 'swal2-hide', backdrop: 'swal2-backdrop-hide', icon: 'swal2-icon-hide' }, customClass: {}, target: 'body', color: undefined, backdrop: true, heightAuto: true, allowOutsideClick: true, allowEscapeKey: true, allowEnterKey: true, stopKeydownPropagation: true, keydownListenerCapture: false, showConfirmButton: true, showDenyButton: false, showCancelButton: false, preConfirm: undefined, preDeny: undefined, confirmButtonText: 'OK', confirmButtonAriaLabel: '', confirmButtonColor: undefined, denyButtonText: 'No', denyButtonAriaLabel: '', denyButtonColor: undefined, cancelButtonText: 'Cancel', cancelButtonAriaLabel: '', cancelButtonColor: undefined, buttonsStyling: true, reverseButtons: false, focusConfirm: true, focusDeny: false, focusCancel: false, returnFocus: true, showCloseButton: false, closeButtonHtml: '×', closeButtonAriaLabel: 'Close this dialog', loaderHtml: '', showLoaderOnConfirm: false, showLoaderOnDeny: false, imageUrl: undefined, imageWidth: undefined, imageHeight: undefined, imageAlt: '', timer: undefined, timerProgressBar: false, width: undefined, padding: undefined, background: undefined, input: undefined, inputPlaceholder: '', inputLabel: '', inputValue: '', inputOptions: {}, inputAutoFocus: true, inputAutoTrim: true, inputAttributes: {}, inputValidator: undefined, returnInputValueOnDeny: false, validationMessage: undefined, grow: false, position: 'center', progressSteps: [], currentProgressStep: undefined, progressStepsDistance: undefined, willOpen: undefined, didOpen: undefined, didRender: undefined, willClose: undefined, didClose: undefined, didDestroy: undefined, scrollbarPadding: true, topLayer: false }; const updatableParams = ['allowEscapeKey', 'allowOutsideClick', 'background', 'buttonsStyling', 'cancelButtonAriaLabel', 'cancelButtonColor', 'cancelButtonText', 'closeButtonAriaLabel', 'closeButtonHtml', 'color', 'confirmButtonAriaLabel', 'confirmButtonColor', 'confirmButtonText', 'currentProgressStep', 'customClass', 'denyButtonAriaLabel', 'denyButtonColor', 'denyButtonText', 'didClose', 'didDestroy', 'draggable', 'footer', 'hideClass', 'html', 'icon', 'iconColor', 'iconHtml', 'imageAlt', 'imageHeight', 'imageUrl', 'imageWidth', 'preConfirm', 'preDeny', 'progressSteps', 'returnFocus', 'reverseButtons', 'showCancelButton', 'showCloseButton', 'showConfirmButton', 'showDenyButton', 'text', 'title', 'titleText', 'theme', 'willClose']; /** @type {Record} */ const deprecatedParams = { allowEnterKey: undefined }; const toastIncompatibleParams = ['allowOutsideClick', 'allowEnterKey', 'backdrop', 'draggable', 'focusConfirm', 'focusDeny', 'focusCancel', 'returnFocus', 'heightAuto', 'keydownListenerCapture']; /** * Is valid parameter * * @param {string} paramName * @returns {boolean} */ const isValidParameter = paramName => { return Object.prototype.hasOwnProperty.call(defaultParams, paramName); }; /** * Is valid parameter for Swal.update() method * * @param {string} paramName * @returns {boolean} */ const isUpdatableParameter = paramName => { return updatableParams.indexOf(paramName) !== -1; }; /** * Is deprecated parameter * * @param {string} paramName * @returns {string | undefined} */ const isDeprecatedParameter = paramName => { return deprecatedParams[paramName]; }; /** * @param {string} param */ const checkIfParamIsValid = param => { if (!isValidParameter(param)) { warn(`Unknown parameter "${param}"`); } }; /** * @param {string} param */ const checkIfToastParamIsValid = param => { if (toastIncompatibleParams.includes(param)) { warn(`The parameter "${param}" is incompatible with toasts`); } }; /** * @param {string} param */ const checkIfParamIsDeprecated = param => { const isDeprecated = isDeprecatedParameter(param); if (isDeprecated) { warnAboutDeprecation(param, isDeprecated); } }; /** * Show relevant warnings for given params * * @param {SweetAlertOptions} params */ const showWarningsForParams = params => { if (params.backdrop === false && params.allowOutsideClick) { warn('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'); } if (params.theme && !['light', 'dark', 'auto', 'minimal', 'borderless', 'bootstrap-4', 'bootstrap-4-light', 'bootstrap-4-dark', 'bootstrap-5', 'bootstrap-5-light', 'bootstrap-5-dark', 'material-ui', 'material-ui-light', 'material-ui-dark', 'embed-iframe', 'bulma', 'bulma-light', 'bulma-dark'].includes(params.theme)) { warn(`Invalid theme "${params.theme}"`); } for (const param in params) { checkIfParamIsValid(param); if (params.toast) { checkIfToastParamIsValid(param); } checkIfParamIsDeprecated(param); } }; /** * Updates popup parameters. * * @this {any} * @param {SweetAlertOptions} params */ function update(params) { const container = getContainer(); const popup = getPopup(); const innerParams = privateProps.innerParams.get(this); if (!popup || hasClass(popup, innerParams.hideClass.popup)) { warn(`You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.`); return; } const validUpdatableParams = filterValidParams(params); const updatedParams = Object.assign({}, innerParams, validUpdatableParams); showWarningsForParams(updatedParams); if (container) { container.dataset['swal2Theme'] = updatedParams.theme; } render(this, updatedParams); privateProps.innerParams.set(this, updatedParams); Object.defineProperties(this, { params: { value: Object.assign({}, this.params, params), writable: false, enumerable: true } }); } /** * @param {SweetAlertOptions} params * @returns {SweetAlertOptions} */ const filterValidParams = params => { /** @type {Record} */ const validUpdatableParams = {}; Object.keys(params).forEach(param => { if (isUpdatableParameter(param)) { const typedParams = /** @type {Record} */params; validUpdatableParams[param] = typedParams[param]; } else { warn(`Invalid parameter to update: ${param}`); } }); return validUpdatableParams; }; /** * Dispose the current SweetAlert2 instance * @this {SweetAlert} */ function _destroy() { var _globalState$eventEmi; const domCache = privateProps.domCache.get(this); const innerParams = privateProps.innerParams.get(this); if (!innerParams) { disposeWeakMaps(this); // The WeakMaps might have been partly destroyed, we must recall it to dispose any remaining WeakMaps #2335 return; // This instance has already been destroyed } // Check if there is another Swal closing if (domCache.popup && globalState.swalCloseEventFinishedCallback) { globalState.swalCloseEventFinishedCallback(); delete globalState.swalCloseEventFinishedCallback; } if (typeof innerParams.didDestroy === 'function') { innerParams.didDestroy(); } (_globalState$eventEmi = globalState.eventEmitter) === null || _globalState$eventEmi === void 0 || _globalState$eventEmi.emit('didDestroy'); disposeSwal(this); } /** * @param {SweetAlert} instance */ const disposeSwal = instance => { disposeWeakMaps(instance); // Unset this.params so GC will dispose it (#1569) // @ts-ignore delete instance.params; // Unset globalState props so GC will dispose globalState (#1569) delete globalState.keydownHandler; delete globalState.keydownTarget; // Unset currentInstance delete globalState.currentInstance; }; /** * @param {SweetAlert} instance */ const disposeWeakMaps = instance => { // If the current instance is awaiting a promise result, we keep the privateMethods to call them once the promise result is retrieved #2335 if (instance.isAwaitingPromise) { unsetWeakMaps(privateProps, instance); instance.isAwaitingPromise = true; } else { unsetWeakMaps(privateMethods, instance); unsetWeakMaps(privateProps, instance); // @ts-ignore delete instance.isAwaitingPromise; // Unset instance methods // @ts-ignore delete instance.disableButtons; // @ts-ignore delete instance.enableButtons; // @ts-ignore delete instance.getInput; // @ts-ignore delete instance.disableInput; // @ts-ignore delete instance.enableInput; // @ts-ignore delete instance.hideLoading; // @ts-ignore delete instance.disableLoading; // @ts-ignore delete instance.showValidationMessage; // @ts-ignore delete instance.resetValidationMessage; // @ts-ignore delete instance.close; // @ts-ignore delete instance.closePopup; // @ts-ignore delete instance.closeModal; // @ts-ignore delete instance.closeToast; // @ts-ignore delete instance.rejectPromise; // @ts-ignore delete instance.update; // @ts-ignore delete instance._destroy; } }; /** * @param {Record>} obj * @param {SweetAlert} instance */ const unsetWeakMaps = (obj, instance) => { for (const i in obj) { obj[i].delete(instance); } }; var instanceMethods = /*#__PURE__*/Object.freeze({ __proto__: null, _destroy: _destroy, close: close, closeModal: close, closePopup: close, closeToast: close, disableButtons: disableButtons, disableInput: disableInput, disableLoading: hideLoading, enableButtons: enableButtons, enableInput: enableInput, getInput: getInput, handleAwaitingPromise: handleAwaitingPromise, hideLoading: hideLoading, rejectPromise: rejectPromise, resetValidationMessage: resetValidationMessage, showValidationMessage: showValidationMessage, update: update }); /** * @param {SweetAlertOptions} innerParams * @param {DomCache} domCache * @param {(dismiss: DismissReason) => void} dismissWith */ const handlePopupClick = (innerParams, domCache, dismissWith) => { if (innerParams.toast) { handleToastClick(innerParams, domCache, dismissWith); } else { // Ignore click events that had mousedown on the popup but mouseup on the container // This can happen when the user drags a slider handleModalMousedown(domCache); // Ignore click events that had mousedown on the container but mouseup on the popup handleContainerMousedown(domCache); handleModalClick(innerParams, domCache, dismissWith); } }; /** * @param {SweetAlertOptions} innerParams * @param {DomCache} domCache * @param {(dismiss: DismissReason) => void} dismissWith */ const handleToastClick = (innerParams, domCache, dismissWith) => { // Closing toast by internal click domCache.popup.onclick = () => { if (innerParams && (isAnyButtonShown(innerParams) || innerParams.timer || innerParams.input)) { return; } dismissWith(DismissReason.close); }; }; /** * @param {SweetAlertOptions} innerParams * @returns {boolean} */ const isAnyButtonShown = innerParams => { return Boolean(innerParams.showConfirmButton || innerParams.showDenyButton || innerParams.showCancelButton || innerParams.showCloseButton); }; let ignoreOutsideClick = false; /** * @param {DomCache} domCache */ const handleModalMousedown = domCache => { domCache.popup.onmousedown = () => { domCache.container.onmouseup = function (e) { domCache.container.onmouseup = () => {}; // We only check if the mouseup target is the container because usually it doesn't // have any other direct children aside of the popup if (e.target === domCache.container) { ignoreOutsideClick = true; } }; }; }; /** * @param {DomCache} domCache */ const handleContainerMousedown = domCache => { domCache.container.onmousedown = e => { // prevent the modal text from being selected on double click on the container (allowOutsideClick: false) if (e.target === domCache.container) { e.preventDefault(); } domCache.popup.onmouseup = function (e) { domCache.popup.onmouseup = () => {}; // We also need to check if the mouseup target is a child of the popup if (e.target === domCache.popup || e.target instanceof HTMLElement && domCache.popup.contains(e.target)) { ignoreOutsideClick = true; } }; }; }; /** * @param {SweetAlertOptions} innerParams * @param {DomCache} domCache * @param {(dismiss: DismissReason) => void} dismissWith */ const handleModalClick = (innerParams, domCache, dismissWith) => { domCache.container.onclick = e => { if (ignoreOutsideClick) { ignoreOutsideClick = false; return; } if (e.target === domCache.container && callIfFunction(innerParams.allowOutsideClick)) { dismissWith(DismissReason.backdrop); } }; }; /** * @param {unknown} elem * @returns {boolean} */ const isJqueryElement = elem => typeof elem === 'object' && elem !== null && 'jquery' in elem; /** * @param {unknown} elem * @returns {boolean} */ const isElement = elem => elem instanceof Element || isJqueryElement(elem); /** * @param {ReadonlyArray} args * @returns {SweetAlertOptions} */ const argsToParams = args => { /** @type {Record} */ const params = {}; if (typeof args[0] === 'object' && !isElement(args[0])) { Object.assign(params, args[0]); } else { ['title', 'html', 'icon'].forEach((name, index) => { const arg = args[index]; if (typeof arg === 'string' || isElement(arg)) { params[name] = arg; } else if (arg !== undefined) { error(`Unexpected type of ${name}! Expected "string" or "Element", got ${typeof arg}`); } }); } return /** @type {SweetAlertOptions} */params; }; /** * Main method to create a new SweetAlert2 popup * * @this {new (...args: any[]) => any} * @param {...SweetAlertOptions} args * @returns {Promise} */ function fire(...args) { return new this(...args); } /** * Returns an extended version of `Swal` containing `params` as defaults. * Useful for reusing Swal configuration. * * For example: * * Before: * const textPromptOptions = { input: 'text', showCancelButton: true } * const {value: firstName} = await Swal.fire({ ...textPromptOptions, title: 'What is your first name?' }) * const {value: lastName} = await Swal.fire({ ...textPromptOptions, title: 'What is your last name?' }) * * After: * const TextPrompt = Swal.mixin({ input: 'text', showCancelButton: true }) * const {value: firstName} = await TextPrompt('What is your first name?') * const {value: lastName} = await TextPrompt('What is your last name?') * * @param {SweetAlertOptions} mixinParams * @returns {SweetAlert} * @this {typeof import('../SweetAlert.js').SweetAlert} */ function mixin(mixinParams) { // @ts-ignore: 'this' refers to the SweetAlert constructor class MixinSwal extends this { /** * @param {any} params * @param {any} priorityMixinParams */ _main(params, priorityMixinParams) { return super._main(params, Object.assign({}, mixinParams, priorityMixinParams)); } } // @ts-ignore return MixinSwal; } /** * If `timer` parameter is set, returns number of milliseconds of timer remained. * Otherwise, returns undefined. * * @returns {number | undefined} */ const getTimerLeft = () => { return globalState.timeout && globalState.timeout.getTimerLeft(); }; /** * Stop timer. Returns number of milliseconds of timer remained. * If `timer` parameter isn't set, returns undefined. * * @returns {number | undefined} */ const stopTimer = () => { if (globalState.timeout) { stopTimerProgressBar(); return globalState.timeout.stop(); } }; /** * Resume timer. Returns number of milliseconds of timer remained. * If `timer` parameter isn't set, returns undefined. * * @returns {number | undefined} */ const resumeTimer = () => { if (globalState.timeout) { const remaining = globalState.timeout.start(); animateTimerProgressBar(remaining); return remaining; } }; /** * Resume timer. Returns number of milliseconds of timer remained. * If `timer` parameter isn't set, returns undefined. * * @returns {number | undefined} */ const toggleTimer = () => { const timer = globalState.timeout; return timer && (timer.running ? stopTimer() : resumeTimer()); }; /** * Increase timer. Returns number of milliseconds of an updated timer. * If `timer` parameter isn't set, returns undefined. * * @param {number} ms * @returns {number | undefined} */ const increaseTimer = ms => { if (globalState.timeout) { const remaining = globalState.timeout.increase(ms); animateTimerProgressBar(remaining, true); return remaining; } }; /** * Check if timer is running. Returns true if timer is running * or false if timer is paused or stopped. * If `timer` parameter isn't set, returns undefined * * @returns {boolean} */ const isTimerRunning = () => { return Boolean(globalState.timeout && globalState.timeout.isRunning()); }; let bodyClickListenerAdded = false; /** @type {Record} */ const clickHandlers = {}; /** * @this {any} * @param {string} attr */ function bindClickHandler(attr = 'data-swal-template') { clickHandlers[attr] = this; if (!bodyClickListenerAdded) { document.body.addEventListener('click', bodyClickListener); bodyClickListenerAdded = true; } } /** * @param {MouseEvent} event */ const bodyClickListener = event => { for (let el = /** @type {any} */event.target; el && el !== document; el = el.parentNode) { for (const attr in clickHandlers) { const template = el.getAttribute && el.getAttribute(attr); if (template) { clickHandlers[attr].fire({ template }); return; } } } }; // Source: https://gist.github.com/mudge/5830382?permalink_comment_id=2691957#gistcomment-2691957 class EventEmitter { constructor() { /** @type {Events} */ this.events = {}; } /** * @param {string} eventName * @returns {EventHandlers} */ _getHandlersByEventName(eventName) { if (typeof this.events[eventName] === 'undefined') { // not Set because we need to keep the FIFO order // https://github.com/sweetalert2/sweetalert2/pull/2763#discussion_r1748990334 this.events[eventName] = []; } return this.events[eventName]; } /** * @param {string} eventName * @param {EventHandler} eventHandler */ on(eventName, eventHandler) { const currentHandlers = this._getHandlersByEventName(eventName); if (!currentHandlers.includes(eventHandler)) { currentHandlers.push(eventHandler); } } /** * @param {string} eventName * @param {EventHandler} eventHandler */ once(eventName, eventHandler) { /** * @param {...any} args */ const onceFn = (...args) => { this.removeListener(eventName, onceFn); // @ts-ignore eventHandler.apply(this, args); }; this.on(eventName, onceFn); } /** * @param {string} eventName * @param {...any} args */ emit(eventName, ...args) { this._getHandlersByEventName(eventName).forEach( /** * @param {EventHandler} eventHandler */ eventHandler => { try { // @ts-ignore eventHandler.apply(this, args); } catch (error) { console.error(error); } }); } /** * @param {string} eventName * @param {EventHandler} eventHandler */ removeListener(eventName, eventHandler) { const currentHandlers = this._getHandlersByEventName(eventName); const index = currentHandlers.indexOf(eventHandler); if (index > -1) { currentHandlers.splice(index, 1); } } /** * @param {string} eventName */ removeAllListeners(eventName) { if (this.events[eventName] !== undefined) { // https://github.com/sweetalert2/sweetalert2/pull/2763#discussion_r1749239222 this.events[eventName].length = 0; } } reset() { this.events = {}; } } globalState.eventEmitter = new EventEmitter(); /** * @param {string} eventName * @param {EventHandler} eventHandler */ const on = (eventName, eventHandler) => { if (globalState.eventEmitter) { globalState.eventEmitter.on(eventName, eventHandler); } }; /** * @param {string} eventName * @param {EventHandler} eventHandler */ const once = (eventName, eventHandler) => { if (globalState.eventEmitter) { globalState.eventEmitter.once(eventName, eventHandler); } }; /** * @param {string} [eventName] * @param {EventHandler} [eventHandler] */ const off = (eventName, eventHandler) => { if (!globalState.eventEmitter) { return; } // Remove all handlers for all events if (!eventName) { globalState.eventEmitter.reset(); return; } if (eventHandler) { // Remove a specific handler globalState.eventEmitter.removeListener(eventName, eventHandler); } else { // Remove all handlers for a specific event globalState.eventEmitter.removeAllListeners(eventName); } }; var staticMethods = /*#__PURE__*/Object.freeze({ __proto__: null, argsToParams: argsToParams, bindClickHandler: bindClickHandler, clickCancel: clickCancel, clickConfirm: clickConfirm, clickDeny: clickDeny, enableLoading: showLoading, fire: fire, getActions: getActions, getCancelButton: getCancelButton, getCloseButton: getCloseButton, getConfirmButton: getConfirmButton, getContainer: getContainer, getDenyButton: getDenyButton, getFocusableElements: getFocusableElements, getFooter: getFooter, getHtmlContainer: getHtmlContainer, getIcon: getIcon, getIconContent: getIconContent, getImage: getImage, getInputLabel: getInputLabel, getLoader: getLoader, getPopup: getPopup, getProgressSteps: getProgressSteps, getTimerLeft: getTimerLeft, getTimerProgressBar: getTimerProgressBar, getTitle: getTitle, getValidationMessage: getValidationMessage, increaseTimer: increaseTimer, isDeprecatedParameter: isDeprecatedParameter, isLoading: isLoading, isTimerRunning: isTimerRunning, isUpdatableParameter: isUpdatableParameter, isValidParameter: isValidParameter, isVisible: isVisible, mixin: mixin, off: off, on: on, once: once, resumeTimer: resumeTimer, showLoading: showLoading, stopTimer: stopTimer, toggleTimer: toggleTimer }); class Timer { /** * @param {() => void} callback * @param {number} delay */ constructor(callback, delay) { this.callback = callback; this.remaining = delay; this.running = false; this.start(); } /** * @returns {number} */ start() { if (!this.running) { this.running = true; this.started = new Date(); this.id = setTimeout(this.callback, this.remaining); } return this.remaining; } /** * @returns {number} */ stop() { if (this.started && this.running) { this.running = false; clearTimeout(this.id); this.remaining -= new Date().getTime() - this.started.getTime(); } return this.remaining; } /** * @param {number} n * @returns {number} */ increase(n) { const running = this.running; if (running) { this.stop(); } this.remaining += n; if (running) { this.start(); } return this.remaining; } /** * @returns {number} */ getTimerLeft() { if (this.running) { this.stop(); this.start(); } return this.remaining; } /** * @returns {boolean} */ isRunning() { return this.running; } } const swalStringParams = ['swal-title', 'swal-html', 'swal-footer']; /** * @param {SweetAlertOptions} params * @returns {SweetAlertOptions} */ const getTemplateParams = params => { const template = typeof params.template === 'string' ? (/** @type {HTMLTemplateElement} */document.querySelector(params.template)) : params.template; if (!template) { return {}; } /** @type {DocumentFragment} */ const templateContent = template.content; showWarningsForElements(templateContent); const result = Object.assign(getSwalParams(templateContent), getSwalFunctionParams(templateContent), getSwalButtons(templateContent), getSwalImage(templateContent), getSwalIcon(templateContent), getSwalInput(templateContent), getSwalStringParams(templateContent, swalStringParams)); return result; }; /** * @param {DocumentFragment} templateContent * @returns {Record} */ const getSwalParams = templateContent => { /** @type {Record} */ const result = {}; /** @type {HTMLElement[]} */ const swalParams = Array.from(templateContent.querySelectorAll('swal-param')); swalParams.forEach(param => { showWarningsForAttributes(param, ['name', 'value']); const paramName = /** @type {keyof SweetAlertOptions} */param.getAttribute('name'); const value = param.getAttribute('value'); if (!paramName || !value) { return; } if (paramName in defaultParams && typeof defaultParams[(/** @type {keyof typeof defaultParams} */paramName)] === 'boolean') { result[paramName] = value !== 'false'; } else if (paramName in defaultParams && typeof defaultParams[(/** @type {keyof typeof defaultParams} */paramName)] === 'object') { result[paramName] = JSON.parse(value); } else { result[paramName] = value; } }); return result; }; /** * @param {DocumentFragment} templateContent * @returns {Record void>} */ const getSwalFunctionParams = templateContent => { /** @type {Record void>} */ const result = {}; /** @type {HTMLElement[]} */ const swalFunctions = Array.from(templateContent.querySelectorAll('swal-function-param')); swalFunctions.forEach(param => { const paramName = /** @type {keyof SweetAlertOptions} */param.getAttribute('name'); const value = param.getAttribute('value'); if (!paramName || !value) { return; } result[paramName] = new Function(`return ${value}`)(); }); return result; }; /** * @param {DocumentFragment} templateContent * @returns {Record} */ const getSwalButtons = templateContent => { /** @type {Record} */ const result = {}; /** @type {HTMLElement[]} */ const swalButtons = Array.from(templateContent.querySelectorAll('swal-button')); swalButtons.forEach(button => { showWarningsForAttributes(button, ['type', 'color', 'aria-label']); const type = button.getAttribute('type'); if (!type || !['confirm', 'cancel', 'deny'].includes(type)) { return; } result[`${type}ButtonText`] = button.innerHTML; result[`show${capitalizeFirstLetter(type)}Button`] = true; if (button.hasAttribute('color')) { const color = button.getAttribute('color'); if (color !== null) { result[`${type}ButtonColor`] = color; } } if (button.hasAttribute('aria-label')) { const ariaLabel = button.getAttribute('aria-label'); if (ariaLabel !== null) { result[`${type}ButtonAriaLabel`] = ariaLabel; } } }); return result; }; /** * @param {DocumentFragment} templateContent * @returns {Pick} */ const getSwalImage = templateContent => { const result = {}; /** @type {HTMLElement | null} */ const image = templateContent.querySelector('swal-image'); if (image) { showWarningsForAttributes(image, ['src', 'width', 'height', 'alt']); if (image.hasAttribute('src')) { result.imageUrl = image.getAttribute('src') || undefined; } if (image.hasAttribute('width')) { result.imageWidth = image.getAttribute('width') || undefined; } if (image.hasAttribute('height')) { result.imageHeight = image.getAttribute('height') || undefined; } if (image.hasAttribute('alt')) { result.imageAlt = image.getAttribute('alt') || undefined; } } return result; }; /** * @param {DocumentFragment} templateContent * @returns {object} */ const getSwalIcon = templateContent => { const result = {}; /** @type {HTMLElement | null} */ const icon = templateContent.querySelector('swal-icon'); if (icon) { showWarningsForAttributes(icon, ['type', 'color']); if (icon.hasAttribute('type')) { result.icon = icon.getAttribute('type'); } if (icon.hasAttribute('color')) { result.iconColor = icon.getAttribute('color'); } result.iconHtml = icon.innerHTML; } return result; }; /** * @param {DocumentFragment} templateContent * @returns {object} */ const getSwalInput = templateContent => { /** @type {Record} */ const result = {}; /** @type {HTMLElement | null} */ const input = templateContent.querySelector('swal-input'); if (input) { showWarningsForAttributes(input, ['type', 'label', 'placeholder', 'value']); result.input = input.getAttribute('type') || 'text'; if (input.hasAttribute('label')) { result.inputLabel = input.getAttribute('label'); } if (input.hasAttribute('placeholder')) { result.inputPlaceholder = input.getAttribute('placeholder'); } if (input.hasAttribute('value')) { result.inputValue = input.getAttribute('value'); } } /** @type {HTMLElement[]} */ const inputOptions = Array.from(templateContent.querySelectorAll('swal-input-option')); if (inputOptions.length) { result.inputOptions = {}; inputOptions.forEach(option => { showWarningsForAttributes(option, ['value']); const optionValue = option.getAttribute('value'); if (!optionValue) { return; } const optionName = option.innerHTML; result.inputOptions[optionValue] = optionName; }); } return result; }; /** * @param {DocumentFragment} templateContent * @param {string[]} paramNames * @returns {Record} */ const getSwalStringParams = (templateContent, paramNames) => { /** @type {Record} */ const result = {}; for (const i in paramNames) { const paramName = paramNames[i]; /** @type {HTMLElement | null} */ const tag = templateContent.querySelector(paramName); if (tag) { showWarningsForAttributes(tag, []); result[paramName.replace(/^swal-/, '')] = tag.innerHTML.trim(); } } return result; }; /** * @param {DocumentFragment} templateContent */ const showWarningsForElements = templateContent => { const allowedElements = swalStringParams.concat(['swal-param', 'swal-function-param', 'swal-button', 'swal-image', 'swal-icon', 'swal-input', 'swal-input-option']); Array.from(templateContent.children).forEach(el => { const tagName = el.tagName.toLowerCase(); if (!allowedElements.includes(tagName)) { warn(`Unrecognized element <${tagName}>`); } }); }; /** * @param {HTMLElement} el * @param {string[]} allowedAttributes */ const showWarningsForAttributes = (el, allowedAttributes) => { Array.from(el.attributes).forEach(attribute => { if (allowedAttributes.indexOf(attribute.name) === -1) { warn([`Unrecognized attribute "${attribute.name}" on <${el.tagName.toLowerCase()}>.`, `${allowedAttributes.length ? `Allowed attributes are: ${allowedAttributes.join(', ')}` : 'To set the value, use HTML within the element.'}`]); } }); }; const SHOW_CLASS_TIMEOUT = 10; /** * Open popup, add necessary classes and styles, fix scrollbar * * @param {SweetAlertOptions} params */ const openPopup = params => { var _globalState$eventEmi, _globalState$eventEmi2; const container = getContainer(); const popup = getPopup(); if (!container || !popup) { return; } if (typeof params.willOpen === 'function') { params.willOpen(popup); } (_globalState$eventEmi = globalState.eventEmitter) === null || _globalState$eventEmi === void 0 || _globalState$eventEmi.emit('willOpen', popup); const bodyStyles = window.getComputedStyle(document.body); const initialBodyOverflow = bodyStyles.overflowY; addClasses(container, popup, params); // scrolling is 'hidden' until animation is done, after that 'auto' setTimeout(() => { setScrollingVisibility(container, popup); }, SHOW_CLASS_TIMEOUT); if (isModal()) { // Using ternary instead of ?? operator for Webpack 4 compatibility fixScrollContainer(container, params.scrollbarPadding !== undefined ? params.scrollbarPadding : false, initialBodyOverflow); setAriaHidden(); } if (!isToast() && !globalState.previousActiveElement) { globalState.previousActiveElement = document.activeElement; } if (typeof params.didOpen === 'function') { const didOpen = params.didOpen; setTimeout(() => didOpen(popup)); } (_globalState$eventEmi2 = globalState.eventEmitter) === null || _globalState$eventEmi2 === void 0 || _globalState$eventEmi2.emit('didOpen', popup); }; /** * @param {Event} event */ const swalOpenAnimationFinished = event => { const popup = getPopup(); if (!popup || event.target !== popup) { return; } const container = getContainer(); if (!container) { return; } popup.removeEventListener('animationend', swalOpenAnimationFinished); popup.removeEventListener('transitionend', swalOpenAnimationFinished); container.style.overflowY = 'auto'; // no-transition is added in init() in case one swal is opened right after another removeClass(container, swalClasses['no-transition']); }; /** * @param {HTMLElement} container * @param {HTMLElement} popup */ const setScrollingVisibility = (container, popup) => { if (hasCssAnimation(popup)) { container.style.overflowY = 'hidden'; popup.addEventListener('animationend', swalOpenAnimationFinished); popup.addEventListener('transitionend', swalOpenAnimationFinished); } else { container.style.overflowY = 'auto'; } }; /** * @param {HTMLElement} container * @param {boolean} scrollbarPadding * @param {string} initialBodyOverflow */ const fixScrollContainer = (container, scrollbarPadding, initialBodyOverflow) => { iOSfix(); if (scrollbarPadding && initialBodyOverflow !== 'hidden') { replaceScrollbarWithPadding(initialBodyOverflow); } // sweetalert2/issues/1247 setTimeout(() => { container.scrollTop = 0; }); }; /** * @param {HTMLElement} container * @param {HTMLElement} popup * @param {SweetAlertOptions} params */ const addClasses = (container, popup, params) => { var _params$showClass; if ((_params$showClass = params.showClass) !== null && _params$showClass !== void 0 && _params$showClass.backdrop) { addClass(container, params.showClass.backdrop); } if (params.animation) { // this workaround with opacity is needed for https://github.com/sweetalert2/sweetalert2/issues/2059 popup.style.setProperty('opacity', '0', 'important'); show(popup, 'grid'); setTimeout(() => { var _params$showClass2; // Animate popup right after showing it if ((_params$showClass2 = params.showClass) !== null && _params$showClass2 !== void 0 && _params$showClass2.popup) { addClass(popup, params.showClass.popup); } // and remove the opacity workaround popup.style.removeProperty('opacity'); }, SHOW_CLASS_TIMEOUT); // 10ms in order to fix #2062 } else { show(popup, 'grid'); } addClass([document.documentElement, document.body], swalClasses.shown); if (params.heightAuto && params.backdrop && !params.toast) { addClass([document.documentElement, document.body], swalClasses['height-auto']); } }; var defaultInputValidators = { /** * @param {string} string * @param {string} [validationMessage] * @returns {Promise} */ email: (string, validationMessage) => { return /^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(string) ? Promise.resolve() : Promise.resolve(validationMessage || 'Invalid email address'); }, /** * @param {string} string * @param {string} [validationMessage] * @returns {Promise} */ url: (string, validationMessage) => { // taken from https://stackoverflow.com/a/3809435 with a small change from #1306 and #2013 return /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(string) ? Promise.resolve() : Promise.resolve(validationMessage || 'Invalid URL'); } }; /** * @param {SweetAlertOptions} params */ function setDefaultInputValidators(params) { // Use default `inputValidator` for supported input types if not provided if (params.inputValidator) { return; } if (params.input === 'email') { params.inputValidator = defaultInputValidators['email']; } if (params.input === 'url') { params.inputValidator = defaultInputValidators['url']; } } /** * @param {SweetAlertOptions} params */ function validateCustomTargetElement(params) { // Determine if the custom target element is valid if (!params.target || typeof params.target === 'string' && !document.querySelector(params.target) || typeof params.target !== 'string' && !params.target.appendChild) { warn('Target parameter is not valid, defaulting to "body"'); params.target = 'body'; } } /** * Set type, text and actions on popup * * @param {SweetAlertOptions} params */ function setParameters(params) { setDefaultInputValidators(params); // showLoaderOnConfirm && preConfirm if (params.showLoaderOnConfirm && !params.preConfirm) { warn('showLoaderOnConfirm is set to true, but preConfirm is not defined.\n' + 'showLoaderOnConfirm should be used together with preConfirm, see usage example:\n' + 'https://sweetalert2.github.io/#ajax-request'); } validateCustomTargetElement(params); // Replace newlines with
    in title if (typeof params.title === 'string') { params.title = params.title.split('\n').join('
    '); } init(params); } /** @type {SweetAlert} */ let currentInstance; var _promise = /*#__PURE__*/new WeakMap(); class SweetAlert { /** * @param {...(SweetAlertOptions | string)} args * @this {SweetAlert} */ constructor(...args) { /** * @type {Promise} */ _classPrivateFieldInitSpec(this, _promise, /** @type {Promise} */Promise.resolve({ isConfirmed: false, isDenied: false, isDismissed: true })); // Prevent run in Node env if (typeof window === 'undefined') { return; } currentInstance = this; // @ts-ignore const outerParams = Object.freeze(this.constructor.argsToParams(args)); /** @type {Readonly} */ this.params = outerParams; /** @type {boolean} */ this.isAwaitingPromise = false; _classPrivateFieldSet2(_promise, this, this._main(currentInstance.params)); } /** * @param {any} userParams * @param {any} mixinParams */ _main(userParams, mixinParams = {}) { showWarningsForParams(Object.assign({}, mixinParams, userParams)); if (globalState.currentInstance) { const swalPromiseResolve = privateMethods.swalPromiseResolve.get(globalState.currentInstance); const { isAwaitingPromise } = globalState.currentInstance; globalState.currentInstance._destroy(); if (!isAwaitingPromise) { swalPromiseResolve({ isDismissed: true }); } if (isModal()) { unsetAriaHidden(); } } globalState.currentInstance = currentInstance; const innerParams = prepareParams(userParams, mixinParams); setParameters(innerParams); Object.freeze(innerParams); // clear the previous timer if (globalState.timeout) { globalState.timeout.stop(); delete globalState.timeout; } // clear the restore focus timeout clearTimeout(globalState.restoreFocusTimeout); const domCache = populateDomCache(currentInstance); render(currentInstance, innerParams); privateProps.innerParams.set(currentInstance, innerParams); return swalPromise(currentInstance, domCache, innerParams); } // `catch` cannot be the name of a module export, so we define our thenable methods here instead /** * @param {any} onFulfilled */ then(onFulfilled) { return _classPrivateFieldGet2(_promise, this).then(onFulfilled); } /** * @param {any} onFinally */ finally(onFinally) { return _classPrivateFieldGet2(_promise, this).finally(onFinally); } } /** * @param {SweetAlert} instance * @param {DomCache} domCache * @param {SweetAlertOptions} innerParams * @returns {Promise} */ const swalPromise = (instance, domCache, innerParams) => { return new Promise((resolve, reject) => { // functions to handle all closings/dismissals /** * @param {DismissReason} dismiss */ const dismissWith = dismiss => { instance.close({ isDismissed: true, dismiss, isConfirmed: false, isDenied: false }); }; privateMethods.swalPromiseResolve.set(instance, resolve); privateMethods.swalPromiseReject.set(instance, reject); domCache.confirmButton.onclick = () => { handleConfirmButtonClick(instance); }; domCache.denyButton.onclick = () => { handleDenyButtonClick(instance); }; domCache.cancelButton.onclick = () => { handleCancelButtonClick(instance, dismissWith); }; domCache.closeButton.onclick = () => { dismissWith(DismissReason.close); }; handlePopupClick(innerParams, domCache, dismissWith); addKeydownHandler(globalState, innerParams, dismissWith); handleInputOptionsAndValue(instance, innerParams); openPopup(innerParams); setupTimer(globalState, innerParams, dismissWith); initFocus(domCache, innerParams); // Scroll container to top on open (#1247, #1946) setTimeout(() => { domCache.container.scrollTop = 0; }); }); }; /** * @param {SweetAlertOptions} userParams * @param {SweetAlertOptions} mixinParams * @returns {SweetAlertOptions} */ const prepareParams = (userParams, mixinParams) => { const templateParams = getTemplateParams(userParams); const params = Object.assign({}, defaultParams, mixinParams, templateParams, userParams); // precedence is described in #2131 params.showClass = Object.assign({}, defaultParams.showClass, params.showClass); params.hideClass = Object.assign({}, defaultParams.hideClass, params.hideClass); if (params.animation === false) { params.showClass = { backdrop: 'swal2-noanimation' }; params.hideClass = {}; } return params; }; /** * @param {SweetAlert} instance * @returns {DomCache} */ const populateDomCache = instance => { const domCache = /** @type {DomCache} */{ popup: (/** @type {HTMLElement} */getPopup()), container: (/** @type {HTMLElement} */getContainer()), actions: (/** @type {HTMLElement} */getActions()), confirmButton: (/** @type {HTMLElement} */getConfirmButton()), denyButton: (/** @type {HTMLElement} */getDenyButton()), cancelButton: (/** @type {HTMLElement} */getCancelButton()), loader: (/** @type {HTMLElement} */getLoader()), closeButton: (/** @type {HTMLElement} */getCloseButton()), validationMessage: (/** @type {HTMLElement} */getValidationMessage()), progressSteps: (/** @type {HTMLElement} */getProgressSteps()) }; privateProps.domCache.set(instance, domCache); return domCache; }; /** * @param {GlobalState} globalState * @param {SweetAlertOptions} innerParams * @param {(dismiss: DismissReason) => void} dismissWith */ const setupTimer = (globalState, innerParams, dismissWith) => { const timerProgressBar = getTimerProgressBar(); hide(timerProgressBar); if (innerParams.timer) { globalState.timeout = new Timer(() => { dismissWith('timer'); delete globalState.timeout; }, innerParams.timer); if (innerParams.timerProgressBar && timerProgressBar) { show(timerProgressBar); applyCustomClass(timerProgressBar, innerParams, 'timerProgressBar'); setTimeout(() => { if (globalState.timeout && globalState.timeout.running) { // timer can be already stopped or unset at this point animateTimerProgressBar(/** @type {number} */innerParams.timer); } }); } } }; /** * Initialize focus in the popup: * * 1. If `toast` is `true`, don't steal focus from the document. * 2. Else if there is an [autofocus] element, focus it. * 3. Else if `focusConfirm` is `true` and confirm button is visible, focus it. * 4. Else if `focusDeny` is `true` and deny button is visible, focus it. * 5. Else if `focusCancel` is `true` and cancel button is visible, focus it. * 6. Else focus the first focusable element in a popup (if any). * * @param {DomCache} domCache * @param {SweetAlertOptions} innerParams */ const initFocus = (domCache, innerParams) => { if (innerParams.toast) { return; } // TODO: this is dumb, remove `allowEnterKey` param in the next major version if (!callIfFunction(innerParams.allowEnterKey)) { warnAboutDeprecation('allowEnterKey'); blurActiveElement(); return; } if (focusAutofocus(domCache)) { return; } if (focusButton(domCache, innerParams)) { return; } setFocus(-1, 1); }; /** * @param {DomCache} domCache * @returns {boolean} */ const focusAutofocus = domCache => { const autofocusElements = Array.from(domCache.popup.querySelectorAll('[autofocus]')); for (const autofocusElement of autofocusElements) { if (autofocusElement instanceof HTMLElement && isVisible$1(autofocusElement)) { autofocusElement.focus(); return true; } } return false; }; /** * @param {DomCache} domCache * @param {SweetAlertOptions} innerParams * @returns {boolean} */ const focusButton = (domCache, innerParams) => { if (innerParams.focusDeny && isVisible$1(domCache.denyButton)) { domCache.denyButton.focus(); return true; } if (innerParams.focusCancel && isVisible$1(domCache.cancelButton)) { domCache.cancelButton.focus(); return true; } if (innerParams.focusConfirm && isVisible$1(domCache.confirmButton)) { domCache.confirmButton.focus(); return true; } return false; }; const blurActiveElement = () => { if (document.activeElement instanceof HTMLElement && typeof document.activeElement.blur === 'function') { document.activeElement.blur(); } }; // Assign instance methods from src/instanceMethods/*.js to prototype SweetAlert.prototype.disableButtons = disableButtons; SweetAlert.prototype.enableButtons = enableButtons; SweetAlert.prototype.getInput = getInput; SweetAlert.prototype.disableInput = disableInput; SweetAlert.prototype.enableInput = enableInput; SweetAlert.prototype.hideLoading = hideLoading; SweetAlert.prototype.disableLoading = hideLoading; SweetAlert.prototype.showValidationMessage = showValidationMessage; SweetAlert.prototype.resetValidationMessage = resetValidationMessage; SweetAlert.prototype.close = close; SweetAlert.prototype.closePopup = close; SweetAlert.prototype.closeModal = close; SweetAlert.prototype.closeToast = close; SweetAlert.prototype.rejectPromise = rejectPromise; SweetAlert.prototype.update = update; SweetAlert.prototype._destroy = _destroy; // Assign static methods from src/staticMethods/*.js to constructor Object.assign(SweetAlert, staticMethods); // Proxy to instance methods to constructor, for now, for backwards compatibility Object.keys(instanceMethods).forEach(key => { /** * @param {...(SweetAlertOptions | string | undefined)} args * @returns {SweetAlertResult | Promise | undefined} */ // @ts-ignore: Dynamic property assignment for backwards compatibility SweetAlert[key] = function (...args) { // @ts-ignore if (currentInstance && currentInstance[key]) { // @ts-ignore return currentInstance[key](...args); } return undefined; }; }); SweetAlert.DismissReason = DismissReason; SweetAlert.version = '11.26.18'; const Swal = SweetAlert; // @ts-ignore Swal.default = Swal; return Swal; })); if (typeof this !== 'undefined' && this.Sweetalert2){this.swal = this.sweetAlert = this.Swal = this.SweetAlert = this.Sweetalert2} "undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,":root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:\"top-start top top-end\" \"center-start center center-end\" \"bottom-start bottom-center bottom-end\";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:\"!\";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}"); /***/ }), /***/ "PTj7": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GalleryComponent; }); /* harmony import */ var src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("j672"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("fXoL"); /* harmony import */ var src_app_Shared_Service_achievement_award_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("DiM6"); /* harmony import */ var src_app_Shared_Service_dpt_district_website_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("qVlC"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("sYmb"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("jhN1"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("tyNb"); /* harmony import */ var src_app_app_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("Sy1n"); /* harmony import */ var src_app_Shared_Service_common_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("LYBR"); /* harmony import */ var _loader_loader_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("kQyY"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("ofXK"); /* harmony import */ var ngx_pagination__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("oOf3"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("3Pt+"); /* harmony import */ var src_app_mini_loader_mini_loader_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("GmSP"); /* harmony import */ var src_app_no_records_no_records_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("/9+q"); function GalleryComponent_span_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3660 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](ctx_r3660.translate.currentLang != "hi" ? ctx_r3660.pageTitle == null ? null : ctx_r3660.pageTitle.NameEnglish : ctx_r3660.pageTitle == null ? null : ctx_r3660.pageTitle.NameHindi); } } function GalleryComponent_span_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function GalleryComponent_div_14_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3668 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](ctx_r3668.translate.currentLang != "hi" ? ctx_r3668.pageTitle == null ? null : ctx_r3668.pageTitle.NameEnglish : ctx_r3668.pageTitle == null ? null : ctx_r3668.pageTitle.NameHindi); } } function GalleryComponent_div_14_span_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function GalleryComponent_div_14_ng_container_5_div_3_ul_3_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { const _r3683 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "a", 30); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 31); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_14_ng_container_5_div_3_ul_3_ng_container_1_li_1_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3683); const ctx_r3682 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](6); return ctx_r3682._commonService.onImageError($event, "assets/images/default.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const imgSrc_r3679 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r3685 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); const i_r3676 = ctx_r3685.index; const items_r3675 = ctx_r3685.$implicit; const ctx_r3681 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("href", imgSrc_r3679, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵattributeInterpolate1 */ "Jb"]("data-lightbox", "images_", i_r3676, ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3681.translate.currentLang == "en" ? items_r3675.Achievement : items_r3675.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3681.translate.currentLang == "en" ? items_r3675.Achievement : items_r3675.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3681.translate.currentLang == "en" ? items_r3675.Achievement : items_r3675.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", imgSrc_r3679, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); } } function GalleryComponent_div_14_ng_container_5_div_3_ul_3_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](1, GalleryComponent_div_14_ng_container_5_div_3_ul_3_ng_container_1_li_1_Template, 3, 6, "li", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const j_r3680 = ctx.index; _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", j_r3680 > 0); } } function GalleryComponent_div_14_ng_container_5_div_3_ul_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "ul", 28); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](1, GalleryComponent_div_14_ng_container_5_div_3_ul_3_ng_container_1_Template, 2, 1, "ng-container", 29); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const items_r3675 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngForOf", items_r3675.ImageFiles); } } function GalleryComponent_div_14_ng_container_5_div_3_Template(rf, ctx) { if (rf & 1) { const _r3688 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "a", 23); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_14_ng_container_5_div_3_Template_a_error_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3688); const ctx_r3687 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3687._commonService.onImageError($event, "assets/images/default.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 24); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_14_ng_container_5_div_3_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3688); const ctx_r3689 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3689._commonService.onImageError($event, "assets/images/default.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_14_ng_container_5_div_3_ul_3_Template, 2, 1, "ul", 25); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](4, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](6, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](7, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](8, "div", 27); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](9); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](10, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const items_r3675 = ctx.$implicit; const i_r3676 = ctx.index; const ctx_r3673 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵattributeInterpolate1 */ "Jb"]("data-lightbox", "images_", i_r3676, ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3673.translate.currentLang == "en" ? items_r3675.Achievement : items_r3675.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("href", items_r3675.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3673.translate.currentLang == "en" ? items_r3675.Achievement : items_r3675.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3673.translate.currentLang == "en" ? items_r3675.Achievement : items_r3675.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", items_r3675.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", items_r3675.ImageFiles && items_r3675.ImageFiles.length > 0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r3673.translate.currentLang == "en" ? (items_r3675 == null ? null : items_r3675.Achievement.length) > 80 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](6, 10, items_r3675 == null ? null : items_r3675.Achievement, 0, 80) + "..." : items_r3675 == null ? null : items_r3675.Achievement : (items_r3675 == null ? null : items_r3675.AchievementHindi.length) > 80 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](7, 14, items_r3675 == null ? null : items_r3675.AchievementHindi, 0, 80) + "..." : items_r3675 == null ? null : items_r3675.AchievementHindi, " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate2 */ "Yc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](10, 18, "RecordEntryNo_txt"), " : ", items_r3675 == null ? null : items_r3675.Id, ""); } } function GalleryComponent_div_14_ng_container_5_div_6_select_1_Template(rf, ctx) { if (rf & 1) { const _r3692 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "select", 35); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("change", function GalleryComponent_div_14_ng_container_5_div_6_select_1_Template_select_change_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3692); const ctx_r3691 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](4); return ctx_r3691.posterChangePageSize($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "option", 36); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](4, "option", 37); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](5, "15"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](6, "option", 38); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](7, "30"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](8, "option", 39); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](9, "60"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](10, "option", 40); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](11, "120"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3690 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("value", ctx_r3690.posterTotalRecords); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](3, 2, "All_txt")); } } function GalleryComponent_div_14_ng_container_5_div_6_Template(rf, ctx) { if (rf & 1) { const _r3694 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](1, GalleryComponent_div_14_ng_container_5_div_6_select_1_Template, 12, 4, "select", 33); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "pagination-controls", 34); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("pageChange", function GalleryComponent_div_14_ng_container_5_div_6_Template_pagination_controls_pageChange_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3694); const ctx_r3693 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3693.posterGetNextPageRecord($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3674 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3674.posterTotalRecords > ctx_r3674.posterIndexModel.PageSize); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("previousLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](3, 3, "Previous_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("nextLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](4, 5, "Next_txt")); } } function GalleryComponent_div_14_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_14_ng_container_5_div_3_Template, 11, 20, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "paginate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](5, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_14_ng_container_5_div_6_Template, 5, 7, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r3670 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind2 */ "pc"](4, 2, ctx_r3670.posterModel, ctx_r3670.posterPagerConfig)); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3670.posterTotalRecords > 15); } } function GalleryComponent_div_14_app_mini_loader_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function GalleryComponent_div_14_app_no_records_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-no-records", 41); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("showImage", true); } } function GalleryComponent_div_14_Template(rf, ctx) { if (rf & 1) { const _r3696 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "h1", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 15); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_14_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3696); const ctx_r3695 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); return ctx_r3695._commonService.onImageError($event, "assets/images/Poster.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_14_span_3_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_14_span_4_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](5, GalleryComponent_div_14_ng_container_5_Template, 7, 5, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_14_app_mini_loader_6_Template, 1, 0, "app-mini-loader", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](7, GalleryComponent_div_14_app_no_records_7_Template, 1, 1, "app-no-records", 16); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3662 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3662.pageTitle ? ctx_r3662.translate.currentLang != "hi" ? ctx_r3662.pageTitle == null ? null : ctx_r3662.pageTitle.NameEnglish : ctx_r3662.pageTitle == null ? null : ctx_r3662.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3662.pageTitle ? ctx_r3662.translate.currentLang != "hi" ? ctx_r3662.pageTitle == null ? null : ctx_r3662.pageTitle.NameEnglish : ctx_r3662.pageTitle == null ? null : ctx_r3662.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", ctx_r3662.pageTitle == null ? null : ctx_r3662.pageTitle.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3662.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3662.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3662.posterModel && (ctx_r3662.posterModel == null ? null : ctx_r3662.posterModel.length) > 0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3662.posterModel); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3662.posterModel && ctx_r3662.posterModel.length == 0); } } function GalleryComponent_div_15_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3697 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](ctx_r3697.translate.currentLang != "hi" ? ctx_r3697.pageTitle == null ? null : ctx_r3697.pageTitle.NameEnglish : ctx_r3697.pageTitle == null ? null : ctx_r3697.pageTitle.NameHindi); } } function GalleryComponent_div_15_span_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) { const _r3714 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "a", 50); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "video", 51); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("playing", function GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_container_3_Template_video_playing_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3714); const ctx_r3713 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](5); return ctx_r3713.onMediaPlaying($event, false); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](3, "source", 52); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r3715 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); const items_r3704 = ctx_r3715.$implicit; const i_r3705 = ctx_r3715.index; _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("href", items_r3704.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate1 */ "vc"]("id", "my_video_", i_r3705, ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("poster", items_r3704.ThumbnailPath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("src", items_r3704.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate1 */ "vc"]("type", "video/", items_r3704.Url.split(".")[items_r3704.Url.split(".").length - 1], ""); } } function GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_template_4_Template(rf, ctx) { if (rf & 1) { const _r3717 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "a", 50); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "iframe", 53); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("onclick", function GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_template_4_Template_iframe_onclick_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3717); const ctx_r3716 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](5); return ctx_r3716.onMediaPlaying($event, false); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const items_r3704 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2).$implicit; const ctx_r3709 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("href", ctx_r3709.SafeUrl(items_r3704.YoutubeURL ? items_r3704.YoutubeURL : items_r3704.Url), _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", items_r3704.safeUrl, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeResourceUrl */ "Oc"]); } } function GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_container_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 54); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](3, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const items_r3704 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2).$implicit; const ctx_r3710 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3710.translate.currentLang == "en" ? items_r3704.SubjectHindi : items_r3704.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r3710.translate.currentLang == "hi" ? items_r3704.AchievementHindi.length > 60 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](3, 2, items_r3704.AchievementHindi, 0, 60) + "..." : items_r3704.AchievementHindi : items_r3704.SubjectHindi.length > 60 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](4, 6, items_r3704.SubjectHindi, 0, 60) + "..." : items_r3704.SubjectHindi, " "); } } function GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_template_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 54); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](2, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](3, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const items_r3704 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2).$implicit; const ctx_r3712 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3712.translate.currentLang == "en" ? items_r3704.Achievement : items_r3704.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r3712.translate.currentLang == "hi" ? items_r3704.AchievementHindi.length > 60 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](2, 2, items_r3704.AchievementHindi, 0, 60) + "..." : items_r3704.AchievementHindi : items_r3704.Achievement.length > 60 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](3, 6, items_r3704.Achievement, 0, 60) + "..." : items_r3704.Achievement, " "); } } function GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 44); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 45); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_container_3_Template, 4, 5, "ng-container", 47); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_template_4_Template, 2, 2, "ng-template", null, 48, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_container_6_Template, 5, 10, "ng-container", 47); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](7, GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_ng_template_7_Template, 4, 10, "ng-template", null, 49, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplateRefExtractor */ "Uc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](9, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](10); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](11, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const _r3708 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵreference */ "Kc"](5); const _r3711 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵreference */ "Kc"](8); const items_r3704 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r3706 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3706.translate.currentLang == "en" ? items_r3704.Achievement : items_r3704.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3706.isExtenstionUrl(items_r3704.Url) == true)("ngIfElse", _r3708); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3706.departmentCode == 1882)("ngIfElse", _r3711); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate2 */ "Yc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](11, 7, "RecordEntryNo_txt"), " : ", items_r3704 == null ? null : items_r3704.Id, ""); } } function GalleryComponent_div_15_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](1, GalleryComponent_div_15_ng_container_5_ng_container_2_div_1_Template, 12, 9, "div", 43); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const items_r3704 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", (items_r3704.Url == null ? null : items_r3704.Url.length) > 0 || items_r3704.YoutubeURL); } } function GalleryComponent_div_15_ng_container_5_div_4_Template(rf, ctx) { if (rf & 1) { const _r3723 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "select", 55); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("change", function GalleryComponent_div_15_ng_container_5_div_4_Template_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3723); const ctx_r3722 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3722.videoChangePageSize($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "option", 36); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](5, "option", 37); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](6, "15"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](7, "option", 38); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](8, "30"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](9, "option", 39); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](10, "60"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](11, "option", 40); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](12, "120"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](13, "pagination-controls", 56); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("pageChange", function GalleryComponent_div_15_ng_container_5_div_4_Template_pagination_controls_pageChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3723); const ctx_r3724 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3724.videoGetNextPageRecord($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](14, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](15, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3703 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("value", ctx_r3703.videoTotalRecords); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](4, 4, "All_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](10); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("previousLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](14, 6, "Previous_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("nextLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](15, 8, "Next_txt")); } } function GalleryComponent_div_15_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](2, GalleryComponent_div_15_ng_container_5_ng_container_2_Template, 2, 1, "ng-container", 29); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](3, "paginate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_15_ng_container_5_div_4_Template, 16, 10, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r3699 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind2 */ "pc"](3, 2, ctx_r3699.videoModel, ctx_r3699.videoPagerConfig)); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3699.videoTotalRecords > 15); } } function GalleryComponent_div_15_app_mini_loader_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function GalleryComponent_div_15_app_no_records_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-no-records", 41); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("showImage", true); } } function GalleryComponent_div_15_Template(rf, ctx) { if (rf & 1) { const _r3726 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "h1", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 15); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_15_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3726); const ctx_r3725 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); return ctx_r3725._commonService.onImageError($event, "assets/images/Video.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_15_span_3_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_15_span_4_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](5, GalleryComponent_div_15_ng_container_5_Template, 5, 5, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_15_app_mini_loader_6_Template, 1, 0, "app-mini-loader", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](7, GalleryComponent_div_15_app_no_records_7_Template, 1, 1, "app-no-records", 16); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3663 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3663.pageTitle ? ctx_r3663.translate.currentLang != "hi" ? ctx_r3663.pageTitle == null ? null : ctx_r3663.pageTitle.NameEnglish : ctx_r3663.pageTitle == null ? null : ctx_r3663.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3663.pageTitle ? ctx_r3663.translate.currentLang != "hi" ? ctx_r3663.pageTitle == null ? null : ctx_r3663.pageTitle.NameEnglish : ctx_r3663.pageTitle == null ? null : ctx_r3663.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", ctx_r3663.pageTitle == null ? null : ctx_r3663.pageTitle.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3663.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3663.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3663.videoModel && (ctx_r3663.videoModel == null ? null : ctx_r3663.videoModel.length) > 0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3663.videoModel); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3663.videoModel && ctx_r3663.videoModel.length == 0); } } function GalleryComponent_div_16_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3727 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](ctx_r3727.translate.currentLang != "hi" ? ctx_r3727.pageTitle == null ? null : ctx_r3727.pageTitle.NameEnglish : ctx_r3727.pageTitle == null ? null : ctx_r3727.pageTitle.NameHindi); } } function GalleryComponent_div_16_span_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function GalleryComponent_div_16_ng_container_5_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) { const _r3737 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 58); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 59); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](2, "img", 60); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](3, "audio", 61); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("playing", function GalleryComponent_div_16_ng_container_5_ng_container_2_div_1_Template_audio_playing_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3737); const ctx_r3736 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](4); return ctx_r3736.onMediaPlaying($event, true); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](4, "source", 62); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](5, "div", 54); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](6); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](7, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](8, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](9, "div", 27); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](10); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](11, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const items_r3734 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r3735 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3735.translate.currentLang == "en" ? items_r3734.Achievement : items_r3734.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3735.translate.currentLang == "en" ? items_r3734.Achievement : items_r3734.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3735.translate.currentLang == "en" ? items_r3734.Achievement : items_r3734.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("src", items_r3734.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3735.translate.currentLang == "en" ? items_r3734.Achievement : items_r3734.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r3735.translate.currentLang == "hi" ? items_r3734.AchievementHindi.length > 60 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](7, 8, items_r3734.AchievementHindi, 0, 60) + "..." : items_r3734.AchievementHindi : items_r3734.Achievement.length > 60 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](8, 12, items_r3734.Achievement, 0, 60) + "..." : items_r3734.Achievement, " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate2 */ "Yc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](11, 16, "RecordEntryNo_txt"), " : ", items_r3734 == null ? null : items_r3734.Id, ""); } } function GalleryComponent_div_16_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](1, GalleryComponent_div_16_ng_container_5_ng_container_2_div_1_Template, 12, 18, "div", 57); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const items_r3734 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", items_r3734.Url != undefined && (items_r3734.Url == null ? null : items_r3734.Url.length) > 0); } } function GalleryComponent_div_16_ng_container_5_div_4_Template(rf, ctx) { if (rf & 1) { const _r3740 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "select", 55); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("change", function GalleryComponent_div_16_ng_container_5_div_4_Template_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3740); const ctx_r3739 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3739.audioChangePageSize($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "option", 36); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](5, "option", 37); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](6, "15"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](7, "option", 38); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](8, "30"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](9, "option", 39); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](10, "60"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](11, "option", 40); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](12, "120"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](13, "pagination-controls", 63); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("pageChange", function GalleryComponent_div_16_ng_container_5_div_4_Template_pagination_controls_pageChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3740); const ctx_r3741 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3741.audioGetNextPageRecord($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](14, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](15, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3733 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("value", ctx_r3733.audioTotalRecords); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](4, 4, "All_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](10); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("previousLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](14, 6, "Previous_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("nextLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](15, 8, "Next_txt")); } } function GalleryComponent_div_16_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](2, GalleryComponent_div_16_ng_container_5_ng_container_2_Template, 2, 1, "ng-container", 29); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](3, "paginate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_16_ng_container_5_div_4_Template, 16, 10, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r3729 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind2 */ "pc"](3, 2, ctx_r3729.audioModel, ctx_r3729.audioPagerConfig)); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3729.audioTotalRecords > 15); } } function GalleryComponent_div_16_app_mini_loader_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function GalleryComponent_div_16_app_no_records_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-no-records"); } } function GalleryComponent_div_16_Template(rf, ctx) { if (rf & 1) { const _r3743 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "h1", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 15); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_16_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3743); const ctx_r3742 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); return ctx_r3742._commonService.onImageError($event, "assets/images/Audio.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_16_span_3_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_16_span_4_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](5, GalleryComponent_div_16_ng_container_5_Template, 5, 5, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_16_app_mini_loader_6_Template, 1, 0, "app-mini-loader", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](7, GalleryComponent_div_16_app_no_records_7_Template, 1, 0, "app-no-records", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3664 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3664.pageTitle ? ctx_r3664.translate.currentLang != "hi" ? ctx_r3664.pageTitle == null ? null : ctx_r3664.pageTitle.NameEnglish : ctx_r3664.pageTitle == null ? null : ctx_r3664.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3664.pageTitle ? ctx_r3664.translate.currentLang != "hi" ? ctx_r3664.pageTitle == null ? null : ctx_r3664.pageTitle.NameEnglish : ctx_r3664.pageTitle == null ? null : ctx_r3664.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", ctx_r3664.pageTitle == null ? null : ctx_r3664.pageTitle.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3664.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3664.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3664.audioModel && (ctx_r3664.audioModel == null ? null : ctx_r3664.audioModel.length) > 0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3664.audioModel); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3664.audioModel && ctx_r3664.audioModel.length == 0); } } function GalleryComponent_div_17_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3744 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](ctx_r3744.translate.currentLang != "hi" ? ctx_r3744.pageTitle == null ? null : ctx_r3744.pageTitle.NameEnglish : ctx_r3744.pageTitle == null ? null : ctx_r3744.pageTitle.NameHindi); } } function GalleryComponent_div_17_span_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function GalleryComponent_div_17_ng_container_5_div_3_Template(rf, ctx) { if (rf & 1) { const _r3753 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "a", 64); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_17_ng_container_5_div_3_Template_a_error_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3753); const ctx_r3752 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3752._commonService.onImageError($event, "assets/images/default.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 24); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_17_ng_container_5_div_3_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3753); const ctx_r3754 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3754._commonService.onImageError($event, "assets/images/default.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](3, "div", 27); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](5, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const items_r3751 = ctx.$implicit; const ctx_r3749 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3749.translate.currentLang == "en" ? items_r3751.Achievement : items_r3751.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("href", items_r3751.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3749.translate.currentLang == "en" ? items_r3751.Achievement : items_r3751.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3749.translate.currentLang == "en" ? items_r3751.Achievement : items_r3751.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", items_r3751.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate2 */ "Yc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](5, 7, "RecordEntryNo_txt"), " : ", items_r3751 == null ? null : items_r3751.Id, ""); } } function GalleryComponent_div_17_ng_container_5_div_5_Template(rf, ctx) { if (rf & 1) { const _r3756 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "select", 55); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("change", function GalleryComponent_div_17_ng_container_5_div_5_Template_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3756); const ctx_r3755 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3755.advertisementChangePageSize($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "option", 36); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](5, "option", 37); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](6, "15"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](7, "option", 38); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](8, "30"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](9, "option", 39); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](10, "60"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](11, "option", 40); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](12, "120"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](13, "pagination-controls", 65); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("pageChange", function GalleryComponent_div_17_ng_container_5_div_5_Template_pagination_controls_pageChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3756); const ctx_r3757 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3757.advertisementGetNextPageRecord($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](14, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](15, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3750 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("value", ctx_r3750.advertisementTotalRecords); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](4, 4, "All_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](10); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("previousLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](14, 6, "Previous_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("nextLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](15, 8, "Next_txt")); } } function GalleryComponent_div_17_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_17_ng_container_5_div_3_Template, 6, 9, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "paginate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](5, GalleryComponent_div_17_ng_container_5_div_5_Template, 16, 10, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r3746 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind2 */ "pc"](4, 2, ctx_r3746.advertisementModel, ctx_r3746.advertisementPagerConfig)); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3746.advertisementTotalRecords > 15); } } function GalleryComponent_div_17_app_mini_loader_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function GalleryComponent_div_17_app_no_records_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-no-records", 41); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("showImage", true); } } function GalleryComponent_div_17_Template(rf, ctx) { if (rf & 1) { const _r3759 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "h1", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 15); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_17_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3759); const ctx_r3758 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); return ctx_r3758._commonService.onImageError($event, "assets/images/ADVT.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_17_span_3_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_17_span_4_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](5, GalleryComponent_div_17_ng_container_5_Template, 6, 5, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_17_app_mini_loader_6_Template, 1, 0, "app-mini-loader", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](7, GalleryComponent_div_17_app_no_records_7_Template, 1, 1, "app-no-records", 16); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3665 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3665.pageTitle ? ctx_r3665.translate.currentLang != "hi" ? ctx_r3665.pageTitle == null ? null : ctx_r3665.pageTitle.NameEnglish : ctx_r3665.pageTitle == null ? null : ctx_r3665.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3665.pageTitle ? ctx_r3665.translate.currentLang != "hi" ? ctx_r3665.pageTitle == null ? null : ctx_r3665.pageTitle.NameEnglish : ctx_r3665.pageTitle == null ? null : ctx_r3665.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", ctx_r3665.pageTitle == null ? null : ctx_r3665.pageTitle.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3665.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3665.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3665.advertisementModel && (ctx_r3665.advertisementModel == null ? null : ctx_r3665.advertisementModel.length) > 0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3665.advertisementModel); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3665.advertisementModel && ctx_r3665.advertisementModel.length == 0); } } function GalleryComponent_div_18_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3760 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](ctx_r3760.translate.currentLang != "hi" ? ctx_r3760.pageTitle == null ? null : ctx_r3760.pageTitle.NameEnglish : ctx_r3760.pageTitle == null ? null : ctx_r3760.pageTitle.NameHindi); } } function GalleryComponent_div_18_span_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function GalleryComponent_div_18_ng_container_5_div_3_Template(rf, ctx) { if (rf & 1) { const _r3770 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "a", 66); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 24); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_18_ng_container_5_div_3_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3770); const ctx_r3769 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3769._commonService.onImageError($event, "assets/images/default.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](3, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](5, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](6, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](7, "div", 27); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](8); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](9, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const items_r3767 = ctx.$implicit; const ctx_r3765 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3765.translate.currentLang == "en" ? items_r3767.Achievement : items_r3767.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("href", items_r3767.PdfFIleName, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3765.translate.currentLang == "en" ? items_r3767.Achievement : items_r3767.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3765.translate.currentLang == "en" ? items_r3767.Achievement : items_r3767.AchievementHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", items_r3767.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate1 */ "Xc"](" ", ctx_r3765.translate.currentLang == "en" ? (items_r3767 == null ? null : items_r3767.Achievement.length) > 80 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](5, 8, items_r3767 == null ? null : items_r3767.Achievement, 0, 80) + "..." : items_r3767 == null ? null : items_r3767.Achievement : (items_r3767 == null ? null : items_r3767.AchievementHindi.length) > 80 ? _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind3 */ "qc"](6, 12, items_r3767 == null ? null : items_r3767.AchievementHindi, 0, 80) + "..." : items_r3767 == null ? null : items_r3767.AchievementHindi, " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate2 */ "Yc"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](9, 16, "RecordEntryNo_txt"), " : ", items_r3767 == null ? null : items_r3767.Id, ""); } } function GalleryComponent_div_18_ng_container_5_div_5_Template(rf, ctx) { if (rf & 1) { const _r3772 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "select", 55); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("change", function GalleryComponent_div_18_ng_container_5_div_5_Template_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3772); const ctx_r3771 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3771.attachmentChangePageSize($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "option", 36); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](5, "option", 37); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](6, "15"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](7, "option", 38); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](8, "30"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](9, "option", 39); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](10, "60"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](11, "option", 40); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](12, "120"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](13, "pagination-controls", 67); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("pageChange", function GalleryComponent_div_18_ng_container_5_div_5_Template_pagination_controls_pageChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3772); const ctx_r3773 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3773.attachmentGetNextPageRecord($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](14, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](15, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3766 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("value", ctx_r3766.attachmentTotalRecords); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](4, 4, "All_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](10); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("previousLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](14, 6, "Previous_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("nextLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](15, 8, "Next_txt")); } } function GalleryComponent_div_18_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_18_ng_container_5_div_3_Template, 10, 18, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "paginate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](5, GalleryComponent_div_18_ng_container_5_div_5_Template, 16, 10, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r3762 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind2 */ "pc"](4, 2, ctx_r3762.attachmentModel, ctx_r3762.attachmentPagerConfig)); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3762.attachmentTotalRecords > 15); } } function GalleryComponent_div_18_app_mini_loader_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function GalleryComponent_div_18_app_no_records_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-no-records", 41); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("showImage", true); } } function GalleryComponent_div_18_Template(rf, ctx) { if (rf & 1) { const _r3775 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "h1", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 15); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_18_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3775); const ctx_r3774 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); return ctx_r3774._commonService.onImageError($event, "assets/images/ADVT.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_18_span_3_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_18_span_4_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](5, GalleryComponent_div_18_ng_container_5_Template, 6, 5, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_18_app_mini_loader_6_Template, 1, 0, "app-mini-loader", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](7, GalleryComponent_div_18_app_no_records_7_Template, 1, 1, "app-no-records", 16); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3666 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3666.pageTitle ? ctx_r3666.translate.currentLang != "hi" ? ctx_r3666.pageTitle == null ? null : ctx_r3666.pageTitle.NameEnglish : ctx_r3666.pageTitle == null ? null : ctx_r3666.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3666.pageTitle ? ctx_r3666.translate.currentLang != "hi" ? ctx_r3666.pageTitle == null ? null : ctx_r3666.pageTitle.NameEnglish : ctx_r3666.pageTitle == null ? null : ctx_r3666.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", ctx_r3666.pageTitle == null ? null : ctx_r3666.pageTitle.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3666.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3666.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3666.attachmentModel && (ctx_r3666.attachmentModel == null ? null : ctx_r3666.attachmentModel.length) > 0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3666.attachmentModel); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3666.attachmentModel && ctx_r3666.attachmentModel.length == 0); } } function GalleryComponent_div_19_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3776 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](ctx_r3776.translate.currentLang != "hi" ? ctx_r3776.pageTitle == null ? null : ctx_r3776.pageTitle.NameEnglish : ctx_r3776.pageTitle == null ? null : ctx_r3776.pageTitle.NameHindi); } } function GalleryComponent_div_19_span_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](" "); } } function GalleryComponent_div_19_ng_container_5_div_4_Template(rf, ctx) { if (rf & 1) { const _r3787 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "a", 71); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("click", function GalleryComponent_div_19_ng_container_5_div_4_Template_a_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3787); const item_r3784 = ctx.$implicit; const ctx_r3786 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3786._commonService.setFocus("record_" + item_r3784.Id); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r3784 = ctx.$implicit; const i_r3785 = ctx.index; const ctx_r3781 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate2 */ "Yc"](" ", (ctx_r3781.descriptionIndexModel.Page - 1) * ctx_r3781.descriptionIndexModel.PageSize + (i_r3785 + 1), ". ", ctx_r3781.translate.currentLang == "en" ? item_r3784.AchievementHindi : item_r3784.SubjectHindi ? item_r3784.SubjectHindi : item_r3784.AchievementHindi, " "); } } function GalleryComponent_div_19_ng_container_5_div_6_div_7_Template(rf, ctx) { if (rf & 1) { const _r3793 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 78); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "a", 50); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](3, "img", 31); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_19_ng_container_5_div_6_div_7_Template_img_error_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3793); const ctx_r3792 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](4); return ctx_r3792._commonService.onImageError($event, "assets/images/record-not-found.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r3788 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"]().$implicit; const ctx_r3790 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("href", item_r3788 == null ? null : item_r3788.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("src", item_r3788 == null ? null : item_r3788.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3790.translate.currentLang == "en" ? item_r3788.AchievementHindi : item_r3788.SubjectHindi); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3790.translate.currentLang == "en" ? item_r3788.AchievementHindi : item_r3788.SubjectHindi); } } function GalleryComponent_div_19_ng_container_5_div_6_div_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 79); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "a", 50); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](3, "i", 80); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r3788 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("href", item_r3788 == null ? null : item_r3788.PdfFIleName, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); } } function GalleryComponent_div_19_ng_container_5_div_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 72); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "div", 73); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](3, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](4, "h2", 75); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](6, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](7, GalleryComponent_div_19_ng_container_5_div_6_div_7_Template, 4, 4, "div", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](8, GalleryComponent_div_19_ng_container_5_div_6_div_8_Template, 4, 1, "div", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](9, "pre", 77); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const item_r3788 = ctx.$implicit; const i_r3789 = ctx.index; const ctx_r3782 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("id", "record_" + item_r3788.Id); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate2 */ "Yc"](" ", (ctx_r3782.descriptionIndexModel.Page - 1) * ctx_r3782.descriptionIndexModel.PageSize + (i_r3789 + 1), ". ", ctx_r3782.translate.currentLang == "en" ? item_r3788.AchievementHindi : item_r3788.SubjectHindi ? item_r3788.SubjectHindi : item_r3788.AchievementHindi, " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", item_r3788 == null ? null : item_r3788.ImagePath); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", item_r3788 == null ? null : item_r3788.PdfFIleName); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("innerHTML", ctx_r3782.translate.currentLang == "hi" ? item_r3788.EditorDetail : item_r3788.EditorDetailEnglish, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeHtml */ "Nc"]); } } function GalleryComponent_div_19_ng_container_5_div_8_Template(rf, ctx) { if (rf & 1) { const _r3797 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "select", 55); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("change", function GalleryComponent_div_19_ng_container_5_div_8_Template_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3797); const ctx_r3796 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3796.descriptionChangePageSize($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "option", 36); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](4, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](5, "option", 37); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](6, "15"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](7, "option", 38); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](8, "30"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](9, "option", 39); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](10, "60"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](11, "option", 40); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtext */ "Vc"](12, "120"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](13, "pagination-controls", 81); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("pageChange", function GalleryComponent_div_19_ng_container_5_div_8_Template_pagination_controls_pageChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3797); const ctx_r3798 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); return ctx_r3798.descriptionGetNextPageRecord($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](14, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](15, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3783 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("value", ctx_r3783.descriptionTotalRecords); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtextInterpolate */ "Wc"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](4, 4, "All_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](10); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("previousLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](14, 6, "Previous_txt")); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("nextLabel", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind1 */ "oc"](15, 8, "Next_txt")); } } function GalleryComponent_div_19_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerStart */ "Yb"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "div", 69); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](3, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_19_ng_container_5_div_4_Template, 3, 2, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](5, "div", 69); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_19_ng_container_5_div_6_Template, 10, 6, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipe */ "nc"](7, "paginate"); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](8, GalleryComponent_div_19_ng_container_5_div_8_Template, 16, 10, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementContainerEnd */ "Xb"](); } if (rf & 2) { const ctx_r3778 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngForOf", ctx_r3778.descriptionModel); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpipeBind2 */ "pc"](7, 3, ctx_r3778.descriptionModel, ctx_r3778.descriptionPagerConfig)); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3778.descriptionTotalRecords > 15); } } function GalleryComponent_div_19_app_mini_loader_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-mini-loader"); } } function GalleryComponent_div_19_app_no_records_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelement */ "Wb"](0, "app-no-records", 41); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("showImage", true); } } function GalleryComponent_div_19_Template(rf, ctx) { if (rf & 1) { const _r3800 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵgetCurrentView */ "bc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](0, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](1, "h1", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementStart */ "ac"](2, "img", 15); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵlistener */ "ic"]("error", function GalleryComponent_div_19_Template_img_error_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵrestoreView */ "Mc"](_r3800); const ctx_r3799 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); return ctx_r3799._commonService.onImageError($event, "assets/images/ADVT.png"); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](3, GalleryComponent_div_19_span_3_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](4, GalleryComponent_div_19_span_4_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](5, GalleryComponent_div_19_ng_container_5_Template, 9, 6, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](6, GalleryComponent_div_19_app_mini_loader_6_Template, 1, 0, "app-mini-loader", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵtemplate */ "Tc"](7, GalleryComponent_div_19_app_no_records_7_Template, 1, 1, "app-no-records", 16); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵelementEnd */ "Zb"](); } if (rf & 2) { const ctx_r3667 = _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵnextContext */ "mc"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("title", ctx_r3667.pageTitle ? ctx_r3667.translate.currentLang != "hi" ? ctx_r3667.pageTitle == null ? null : ctx_r3667.pageTitle.NameEnglish : ctx_r3667.pageTitle == null ? null : ctx_r3667.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵpropertyInterpolate */ "uc"]("alt", ctx_r3667.pageTitle ? ctx_r3667.translate.currentLang != "hi" ? ctx_r3667.pageTitle == null ? null : ctx_r3667.pageTitle.NameEnglish : ctx_r3667.pageTitle == null ? null : ctx_r3667.pageTitle.NameHindi : " "); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("src", ctx_r3667.pageTitle == null ? null : ctx_r3667.pageTitle.ImagePath, _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵsanitizeUrl */ "Pc"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3667.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3667.pageTitle); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3667.descriptionModel && (ctx_r3667.descriptionModel == null ? null : ctx_r3667.descriptionModel.length) > 0); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", !ctx_r3667.descriptionModel); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵadvance */ "Hb"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__[/* ɵɵproperty */ "tc"]("ngIf", ctx_r3667.descriptionModel && ctx_r3667.descriptionModel.length == 0); } } let GalleryComponent = /*@__PURE__*/ (() => { class GalleryComponent { constructor(achievementAwardService, _dptDistrictWebsiteService, translate, sanitizer, route, _app, _route, _titleService, _achService, _commonService) { this.achievementAwardService = achievementAwardService; this._dptDistrictWebsiteService = _dptDistrictWebsiteService; this.translate = translate; this.sanitizer = sanitizer; this.route = route; this._app = _app; this._route = _route; this._titleService = _titleService; this._achService = _achService; this._commonService = _commonService; this.pageName = ""; this.posterIndexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.posterTotalRecords = 0; this.posterPagerConfig = { id: 'poster-paging', itemsPerPage: this.posterIndexModel.PageSize, currentPage: this.posterIndexModel.Page, totalItems: this.posterTotalRecords, }; this.videoIndexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.videoTotalRecords = 0; this.videoPagerConfig = { id: 'video-paging', itemsPerPage: this.videoIndexModel.PageSize, currentPage: this.videoIndexModel.Page, totalItems: this.videoTotalRecords, }; this.audioIndexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.audioTotalRecords = 0; this.audioPagerConfig = { id: 'audio-paging', itemsPerPage: this.audioIndexModel.PageSize, currentPage: this.audioIndexModel.Page, totalItems: this.audioTotalRecords, }; this.advertisementIndexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.advertisementTotalRecords = 0; this.advertisementPagerConfig = { id: 'advertisement-paging', itemsPerPage: this.advertisementIndexModel.PageSize, currentPage: this.advertisementIndexModel.Page, totalItems: this.advertisementTotalRecords, }; this.attachmentIndexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.attachmentTotalRecords = 0; this.attachmentPagerConfig = { id: 'attachment-paging', itemsPerPage: this.attachmentIndexModel.PageSize, currentPage: this.attachmentIndexModel.Page, totalItems: this.attachmentTotalRecords, }; this.descriptionIndexModel = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* IndexModel */ "d"](); this.descriptionTotalRecords = 0; this.descriptionPagerConfig = { id: 'description-paging', itemsPerPage: this.descriptionIndexModel.PageSize, currentPage: this.descriptionIndexModel.Page, totalItems: this.descriptionTotalRecords, }; this.isShowPoster = false; this.isShowVideo = false; this.isShowAudio = false; this.isShowAdvertisment = false; this.isShowAttachment = false; this.isShowDescription = false; this.departmentCode = 0; } ngOnInit() { this._route.paramMap.subscribe((params) => { this.pageTitle = undefined; let url = this.route.url.replace('/', '').split('/'); console.log('url', url); // this.departmentCode = this._commonService.IsDistrict() ? 0 : this._commonService.GetWebDistDeptCode(); // let _dptCode = this._route.snapshot.params.dptCode; // if (_dptCode && !this._commonService.IsDistrict()) { // this.departmentCode = Number(_dptCode); // } this.departmentCode = this._commonService.GetWebDistDeptCode(); let _dptCode = this._route.snapshot.params.dptCode; if (_dptCode) { this.departmentCode = Number(_dptCode); } let _catCode = this._route.snapshot.params.catCode; if (_catCode) { this.catCode = Number(_catCode); } let _subCatCode = this._route.snapshot.params.subCatCode; if (_subCatCode) { this.subCatCode = Number(_subCatCode); } let _submenuCode = this._route.snapshot.params.submenuCode; if (_submenuCode) { this.submenuCode = Number(_submenuCode); } let _pageName = this._route.snapshot.params.pageName; if (_pageName) { this.pageName = _pageName; } // else if (this.submenuCode >= 0 && this.subCatCode >= 0) { // this.pageName = this.subCatCode ? url[url.length - 6] : (this.catCode ? url[url.length - 5] : url[url.length - 4]); // } else if (this.submenuCode >= 0) { this.pageName = (this.subCatCode || this.subCatCode == 0) ? url[url.length - 5] : ((this.catCode || this.catCode == 0) ? url[url.length - 4] : url[url.length - 3]); } else { this.pageName = (this.subCatCode || this.subCatCode == 0) ? url[url.length - 4] : ((this.catCode || this.catCode == 0) ? url[url.length - 3] : url[url.length - 2]); } this.getPageHeading(); this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? "गेलरी" : "Gallery"); this.getData(); }); } getPageHeading() { if (this.submenuCode > 0) { this.getSubmenuDetail(); } else if (this.subCatCode > 0) { this.getSubCategoryDetail(); } else { this.getCategoryDetail(); } } getSubmenuDetail() { this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(res => { if (res.IsSuccess) { let submenu = res.Data; if (submenu) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* PageTitleModel */ "f"](); this.pageTitle.NameEnglish = submenu.DisplayNameEnglish; this.pageTitle.NameHindi = submenu.DisplayNameHindi; this.pageTitle.ImagePath = submenu.IconImage; this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } } }, error => { }); } getData() { switch (this.pageName) { case "video": this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? "वीडियो" : "Video"); this.isShowVideo = true; this.videoIndexModel.PageSize = 15; this.videoListData(); break; case "audio": this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? "ऑडियो" : "Audio"); this.isShowAudio = true; this.audioIndexModel.PageSize = 15; this.audioListData(); break; case "cm-speech": this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? "ऑडियो" : "Audio"); this.isShowAudio = true; this.audioIndexModel.PageSize = 15; this.audioListData(); break; case "poster": this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? "पोस्टर" : "Poster"); this.isShowPoster = true; this.posterIndexModel.PageSize = 15; this.posterListData(); break; case "images": case "photo-gallery": this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? "फ़ोटो गेलरी" : "Photo Gallery"); this.isShowPoster = true; this.posterIndexModel.PageSize = 15; this.posterListData(); break; case "advertisement": this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? "विज्ञापन" : "Advertisement"); this.isShowAdvertisment = true; this.advertisementIndexModel.PageSize = 15; this.advertisementListData(); break; case "attachments": this.isShowAttachment = true; this.attachmentIndexModel.PageSize = 15; this.getAttachmentsData(); break; case "description-list": this.isShowDescription = true; this.descriptionIndexModel.PageSize = 15; this.getDescriptionData(); break; default: this.route.navigate(["home"]); break; } } getCategoryDetail() { this._achService.GetAcievementCatDetail(this.catCode).subscribe(res => { if (res.IsSuccess) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* PageTitleModel */ "f"](); let catDetail = res.Data; this.pageTitle.NameEnglish = catDetail.SubMenuNameEnglish; this.pageTitle.NameHindi = catDetail.SubMenuNameHindi; this.pageTitle.ImagePath = catDetail.ImagePath; this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } }, error => { console.error(error); }); } getSubCategoryDetail() { this._achService.GetAcievementSubCatDetail(this.subCatCode).subscribe(res => { if (res.IsSuccess) { this.pageTitle = new src_app_Shared_Model_common_model__WEBPACK_IMPORTED_MODULE_0__[/* PageTitleModel */ "f"](); let subCatDetail = res.Data; this.pageTitle.NameEnglish = subCatDetail.Title; this.pageTitle.NameHindi = subCatDetail.TitleHindi; this.pageTitle.ImagePath = subCatDetail.ImagePath; this._commonService.SetWebTitle(this.translate.currentLang == 'hi' ? this.pageTitle.NameHindi : this.pageTitle.NameEnglish); } }, error => { console.error(error); }); } //#region posterListData() { this.posterModel = undefined; this.posterIndexModel.OrderBy = "AchievementDate"; this.posterIndexModel.OrderByAsc = 0; this.posterIndexModel.AdvanceSearchModel = { DepartmentCode: this.departmentCode, CategoryCode: this.catCode || 0, SubCategoryCode: this.subCatCode || 0 }; // this.posterIndexModel.AdvanceSearchModel = { // DepartmentCode: (this.catCode == Number(AchievementCategoryEnum.VideoCode) || this.catCode == AchievementCategoryEnum.PostersCode // || this.catCode == Number(AchievementCategoryEnum.AdvertisementCode)) ? 0 : this._commonService.GetWebDistDeptCode(), // CategoryCode: this.catCode || 0, // SubCategoryCode: this.subCatCode || 0 // } this.achievementAwardService.GetPostersListData(this.posterIndexModel).subscribe(response => { if (response.IsSuccess) { this.posterModel = response.Data.Data; if (!this.posterIndexModel.IsPostBack) { this.posterTotalRecords = response.Data.TotalRecords; } this.posterUpdatePageConfig(); } else { this.posterModel = []; } }, error => { this.posterModel = []; }); } posterGetNextPageRecord(page) { window.scroll(0, 0); this.posterIndexModel.IsPostBack = true; this.posterIndexModel.Page = page; this.posterListData(); } posterChangePageSize(value) { window.scroll(0, 0); this.posterIndexModel.IsPostBack = true; this.posterIndexModel.PageSize = Number(value); this.posterIndexModel.Page = 1; this.posterListData(); } posterUpdatePageConfig() { this.posterPagerConfig.itemsPerPage = this.posterIndexModel.PageSize; this.posterPagerConfig.currentPage = this.posterIndexModel.Page; this.posterPagerConfig.totalItems = this.posterTotalRecords; } //#endregion //#region